aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/resources/prh_library.robot
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/prh_library.robot')
-rw-r--r--tests/dcaegen2/prh-testcases/resources/prh_library.robot8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/prh_library.robot b/tests/dcaegen2/prh-testcases/resources/prh_library.robot
index 5680f2f4..bdf12acd 100644
--- a/tests/dcaegen2/prh-testcases/resources/prh_library.robot
+++ b/tests/dcaegen2/prh-testcases/resources/prh_library.robot
@@ -96,8 +96,12 @@ Set VES event in DMaaP
Should Be Equal As Strings ${resp.status_code} 200
Should Be Equal As JSON
- [Arguments] ${given} ${expected}
- Should Be True ${given}==${expected}
+ [Arguments] ${actual} ${expected}
+ Log EXPECTED: ${expected}
+ Log ACTUAL: ${actual}
+ ${expected_json}= Evaluate json.loads("""${expected}""") json
+ ${actual_json}= Evaluate json.loads("""${actual}""") json
+ Should Be Equal ${actual_json} ${expected_json}
Create sessions
Create Session dmaap_setup_session ${DMAAP_SIMULATOR_SETUP_URL}