X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Ffsm-testing%2Ftestid-waitfc-hex_test.py;fp=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Ffsm-testing%2Ftestid-waitfc-hex_test.py;h=ad0e052753ef21209471cf231a4a083ca8701f93;hb=e688b5354af3a5fe0add859710cae41ffe123f65;hp=0000000000000000000000000000000000000000;hpb=c56124ff93e8bceec159748dfe5ba8d56c62e3de;p=anna.git diff --git a/example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-waitfc-hex_test.py b/example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-waitfc-hex_test.py new file mode 100644 index 0000000..ad0e052 --- /dev/null +++ b/example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-waitfc-hex_test.py @@ -0,0 +1,19 @@ +import pytest + + +def test_001_given_test_indentifier_and_hex_representation_i_want_to_add_test_id_waitfc_hex_step(admlc, admlf): + + flow = admlf.getId() + + requestBody = { "hex":"01000150c000010901000014" } + responseBodyRef = { "success":"true", "response":"Done" } + + # Send POST + response = admlc.postDict("/testid-waitfc-hex/{}".format(flow), requestBody) + + # Verify response + admlc.assert_response__status_body_headers(response, 200, responseBodyRef) + + # Cleanup + response = admlc.post("/test-clear") +