summaryrefslogtreecommitdiffstats
path: root/tests/test-multi-apc2.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtests/test-multi-apc2.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test-multi-apc2.py b/tests/test-multi-apc2.py
new file mode 100755
index 0000000..7ab9754
--- /dev/null
+++ b/tests/test-multi-apc2.py
@@ -0,0 +1,17 @@
+#!/usr/bin/python
+
+from fence_testing import test_action
+
+def main():
+ DEVICE = "devices.d/multi-apc-v2.cfg"
+
+ ACT_STATUS = "actions.d/status.cfg"
+ ACT_ONOFF = "actions.d/power-on-off.cfg"
+ ACT_LIST = "actions.d/list.cfg"
+
+ test_action(DEVICE, ACT_STATUS, "getopt")
+ test_action(DEVICE, ACT_ONOFF, "stdin")
+ test_action(DEVICE, ACT_LIST, "getopt")
+
+if __name__ == "__main__":
+ main() \ No newline at end of file