X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;ds=sidebyside;f=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Fsnapshots%2Fshow-oam_test.py;fp=example%2Fdiameter%2Flauncher%2Fresources%2Frest_api%2Fct%2Fsnapshots%2Fshow-oam_test.py;h=1256c1c64952fe42ee5873010b3cc9c8c7cb8636;hb=c881c12ed7e116f1d43760a0d9873f860c10a357;hp=0000000000000000000000000000000000000000;hpb=af14877201a9856708ec43086a229777d9cb3da7;p=anna.git diff --git a/example/diameter/launcher/resources/rest_api/ct/snapshots/show-oam_test.py b/example/diameter/launcher/resources/rest_api/ct/snapshots/show-oam_test.py new file mode 100644 index 0000000..1256c1c --- /dev/null +++ b/example/diameter/launcher/resources/rest_api/ct/snapshots/show-oam_test.py @@ -0,0 +1,11 @@ +import pytest + + +def test_001_show_oam_from_adml(admlc): + + # Send GET + response = admlc.get("/show-oam") + + # Verify response is ok (omit response content because it is informative and have dynamic data (timing)): + assert response["status"] == 200 + assert response["body"]["success"] == "true"