diff options
Diffstat (limited to 'cds-regression-test/cba/remote-python/Scripts')
-rw-r--r-- | cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py | 13 | ||||
-rw-r--r-- | cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py | 15 |
2 files changed, 0 insertions, 28 deletions
diff --git a/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py b/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py deleted file mode 100644 index 08488da..0000000 --- a/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/python - -import sys -from cds_utils.payload_coder import send_response_data_payload - -def echo(arg): - print(arg) - -if __name__ == "__main__": - echo(sys.argv[1]) - resp_data = {"abc": ["xyz", "qqq"]} - send_response_data_payload(resp_data) - sys.exit(0) diff --git a/cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py b/cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py deleted file mode 100644 index 672492d..0000000 --- a/cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/python - -import sys -from cds_utils.payload_coder import send_response_data_payload - -if __name__ == "__main__": - try: - raise Exception("Intentionally raised exception!") - except Exception as e: - print("Intentionally raised exception!") - resp_data = { - "errorMessage": "Intentionally raised exception!" - } - send_response_data_payload(resp_data) - sys.exit(1) |