diff options
Diffstat (limited to 'cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py')
-rw-r--r-- | cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py | 13 |
1 files changed, 13 insertions, 0 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 new file mode 100644 index 0000000..08488da --- /dev/null +++ b/cds-regression-test/cba/remote-python/Scripts/python/EchoRemotePython.py @@ -0,0 +1,13 @@ +#!/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) |