summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/cba/cba/remote-python/Scripts/python/FailingRemotePython.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2021-01-21 14:17:58 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-21 14:17:58 +0000
commit2a26e7f038190ef736a73443ee56169fea6815a9 (patch)
tree4822f88f7fc70277f6559c198ee7cb4277d4eaeb /cds-regression-test/cba/cba/remote-python/Scripts/python/FailingRemotePython.py
parent8908c43db11c2eecc2b6e730a5c99f6ec3091a95 (diff)
parente92fce768cb792f11920f45fdbb38b3af69e212f (diff)
Merge "Update to latest version"honolulu
Diffstat (limited to 'cds-regression-test/cba/cba/remote-python/Scripts/python/FailingRemotePython.py')
-rw-r--r--cds-regression-test/cba/cba/remote-python/Scripts/python/FailingRemotePython.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/cds-regression-test/cba/cba/remote-python/Scripts/python/FailingRemotePython.py b/cds-regression-test/cba/cba/remote-python/Scripts/python/FailingRemotePython.py
deleted file mode 100644
index 672492d..0000000
--- a/cds-regression-test/cba/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)