Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / resources / rest_api / ct / snapshots / collect_test.py
diff --git a/example/diameter/launcher/resources/rest_api/ct/snapshots/collect_test.py b/example/diameter/launcher/resources/rest_api/ct/snapshots/collect_test.py
new file mode 100644 (file)
index 0000000..1855b33
--- /dev/null
@@ -0,0 +1,12 @@
+import pytest
+
+
+def test_001_collect_oam_and_statistics_at_adml(admlc):
+
+  responseBodyRef = { "success":"true", "response":"All process counters & statistic information have been reset" }
+
+  # Send POST
+  response = admlc.post("/collect")
+
+  # Verify response
+  admlc.assert_response__status_body_headers(response, 200, responseBodyRef)