Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / resources / rest_api / ct / node-management / node-auto_test.py
diff --git a/example/diameter/launcher/resources/rest_api/ct/node-management/node-auto_test.py b/example/diameter/launcher/resources/rest_api/ct/node-management/node-auto_test.py
new file mode 100644 (file)
index 0000000..1eb54a5
--- /dev/null
@@ -0,0 +1,11 @@
+import pytest
+
+def test_001_i_want_to_set_automatic_node_mode_at_adml(admlc):
+
+  responseBodyRef = { "success":"true", "response":"Working node has been set to automatic" }
+
+  # Send POST
+  response = admlc.post("/node-auto")
+
+  # Verify response
+  admlc.assert_response__status_body_headers(response, 200, responseBodyRef)