summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/cba/remote-python/Scripts/python
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-19 12:32:04 -0500
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2021-01-20 10:02:39 -0500
commite92fce768cb792f11920f45fdbb38b3af69e212f (patch)
tree650d0bd49b1c98b49535d3f8aa9f98bb97255532 /cds-regression-test/cba/remote-python/Scripts/python
parentbfffa2d982cc506979aaa0b96b6bb352c8dda9a7 (diff)
Update to latest version
Issue-ID: TEST-295 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ie14e2061c1e0931bf3d555e54c79bb736d140d5c
Diffstat (limited to 'cds-regression-test/cba/remote-python/Scripts/python')
-rw-r--r--cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py13
-rw-r--r--cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py15
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)