From c61eab16e160434e560e10a89a8862fee3c1be5d Mon Sep 17 00:00:00 2001 From: BryanFauble <17128019+BryanFauble@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:56:57 -0700 Subject: [PATCH] Testing some things that should fail sonar --- synapseclient/client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/synapseclient/client.py b/synapseclient/client.py index bbd335395..c45ef52c4 100644 --- a/synapseclient/client.py +++ b/synapseclient/client.py @@ -5182,11 +5182,10 @@ 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", @@ -5194,6 +5193,9 @@ def a____sneaky_function_that_should_____Fail_sOnAr(self): "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(