Allow to automatically reserve an FSM test id
[anna.git] / example / diameter / launcher / resources / rest_api / ct / fsm-testing / test-goto_test.py
index 5adea9a..029a44f 100644 (file)
@@ -10,7 +10,7 @@ def test_001_i_want_to_move_to_specific_test_and_check_it(admlc, admlf):
   response = admlc.postDict("/testid-description/{}".format(flow), { "description":"testid-description.test_001.flow{}".format(flow) })
 
   # Verify response
-  responseBodyRef = { "success":"true", "response":"Done" }
+  responseBodyRef = { "success":"true", "response":str(flow) }
   admlc.assert_response__status_body_headers(response, 200, responseBodyRef)
 
   # Go to the second test:
@@ -34,7 +34,7 @@ def test_002_i_want_to_move_to_a_test_out_of_range_and_check_it(admlc, admlf):
   response = admlc.postDict("/testid-description/{}".format(flow), { "description":"testid-description.test_001.flow{}".format(flow) })
 
   # Verify response
-  responseBodyRef = { "success":"true", "response":"Done" }
+  responseBodyRef = { "success":"true", "response":str(flow) }
   admlc.assert_response__status_body_headers(response, 200, responseBodyRef)
 
   # Go to the second test: