X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Ffsm-testing%2Ftest-interact_test.py;fp=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Ffsm-testing%2Ftest-interact_test.py;h=310c1e13d80b7941c44eb1d7db61975f21f00ee9;hp=d11086bd9b4c04bc8ab0cce4eb300ea4e7824825;hb=cef452116c2966d7eaa65ff31ee7613bf3ae1b93;hpb=1b744dbd580cc353d18b119eef361abe1850a91b diff --git a/example/diameter/launcher/resources/rest_api/ct/fsm-testing/test-interact_test.py b/example/diameter/launcher/resources/rest_api/ct/fsm-testing/test-interact_test.py index d11086b..310c1e1 100644 --- a/example/diameter/launcher/resources/rest_api/ct/fsm-testing/test-interact_test.py +++ b/example/diameter/launcher/resources/rest_api/ct/fsm-testing/test-interact_test.py @@ -8,7 +8,7 @@ def test_001_i_want_to_make_one_test_non_interactive(admlc, admlf): response = admlc.postDict("/testid-ip-limit/{}".format(flow), { "amount":15 }) # Verify response (test & step programmed) - responseBodyRef = { "success":"true", "response":"Done" } + responseBodyRef = { "success":"true", "response":str(flow) } admlc.assert_response__status_body_headers(response, 200, responseBodyRef) # Send POST (execute the former test) @@ -29,7 +29,7 @@ def test_002_i_want_to_freeze_a_test(admlc, admlf): response = admlc.postDict("/testid-ip-limit/{}".format(flow), { "amount":15 }) # Verify response (test & step programmed) - responseBodyRef = { "success":"true", "response":"Done" } + responseBodyRef = { "success":"true", "response":str(flow) } admlc.assert_response__status_body_headers(response, 200, responseBodyRef) # Send POST (execute the former test)