remove a lot of deprecated files ;
[monitor.git] / tests / test-myops-xmlrpc.py
diff --git a/tests/test-myops-xmlrpc.py b/tests/test-myops-xmlrpc.py
new file mode 100755 (executable)
index 0000000..ed9ad3c
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+from monitor.wrapper import plc
+
+api = plc.getAPI("https://monitor.planet-lab.org/monitor/XMLRPC")
+print api.upAndRunning()
+print api.setBootmanSequence(plc.api.auth, "test-sequence", "value3")
+print api.getBootmanSequences(plc.api.auth)