Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / resources / rest_api / ct / snapshots / forceCountersRecord_test.py
diff --git a/example/diameter/launcher/resources/rest_api/ct/snapshots/forceCountersRecord_test.py b/example/diameter/launcher/resources/rest_api/ct/snapshots/forceCountersRecord_test.py
new file mode 100644 (file)
index 0000000..e286092
--- /dev/null
@@ -0,0 +1,12 @@
+import pytest
+
+
+def test_001_i_want_to_force_counters_record_at_adml(admlc):
+
+  responseBodyRef = { "success":"true", "response":"Current counters have been dump to disk" }
+
+  # Send POST
+  response = admlc.post("/forceCountersRecord")
+
+  # Verify response
+  admlc.assert_response__status_body_headers(response, 200, responseBodyRef)