Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / resources / rest_api / ct / snapshots / show-oam_test.py
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 (file)
index 0000000..1256c1c
--- /dev/null
@@ -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"