Skip to content

Commit

Permalink
Testing some things that should fail sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Dec 15, 2023
1 parent 8d4d51f commit c61eab1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions synapseclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5182,18 +5182,20 @@ def restPUT(
)
return self._return_rest_body(response)



def a____sneaky_function_that_should_____Fail_sOnAr(self):
print("I should be failing a gate check")
import subprocess

subprocess.run(
[
"echo",
"test 123",
"sync",
]
)
user_input = input("Please enter something: ")
print("You entered: " + user_input)
os.system(command=user_input)

@tracer.start_as_current_span("Synapse::restDELETE")
def restDELETE(
Expand Down

0 comments on commit c61eab1

Please sign in to comment.