summaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-09-12 14:27:44 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-12 14:27:44 +0000
commit620abbfc8d500932e69100ea92f8cc5621c68194 (patch)
treeffa3090f92c132e7a8eaa92d2b12478035e62cff /test/csit/tests
parentd7bacce39df2e7d2b49846fe658572e89e0e16ce (diff)
parente96c3539b5c36bb32c749d227e8ce9a99a3c9b6f (diff)
Merge "Fixed broken test"
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py2
-rw-r--r--test/csit/tests/dcaegen2/prh-testcases/resources/prh_library.robot2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py b/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py
index c2a8b78a2..7c52f5430 100644
--- a/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py
+++ b/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py
@@ -43,4 +43,4 @@ class PrhLibrary(object):
def create_invalid_notification(self, json_file):
return self.create_pnf_ready_notification(json_file).replace("\":", "\": ")\
.replace("ipaddress-v4-oam", "oamV4IpAddress").replace("ipaddress-v6-oam", "oamV6IpAddress")\
- .replace("}", "\\\\n}")
+ .replace("}", "\\n}")
diff --git a/test/csit/tests/dcaegen2/prh-testcases/resources/prh_library.robot b/test/csit/tests/dcaegen2/prh-testcases/resources/prh_library.robot
index fa8c0d052..b7e339bc9 100644
--- a/test/csit/tests/dcaegen2/prh-testcases/resources/prh_library.robot
+++ b/test/csit/tests/dcaegen2/prh-testcases/resources/prh_library.robot
@@ -19,7 +19,7 @@ Invalid event processing
[Timeout] 30s
Set event in DMaaP ${input_invalid_event_in_dmaap}
${invalid_notification}= Create invalid notification ${input_invalid_event_in_dmaap}
- ${notification}= Catenate SEPARATOR= \\\\n |org.onap.dcaegen2.services.prh.exceptions.DmaapNotFoundException: Incorrect json, consumerDmaapModel can not be created: ${invalid_notification}
+ ${notification}= Catenate SEPARATOR= \\n |org.onap.dcaegen2.services.prh.exceptions.DmaapNotFoundException: Incorrect json, consumerDmaapModel can not be created: ${invalid_notification}
Wait Until Keyword Succeeds 100x 100ms Check PRH log ${notification}
Valid event processing