aboutsummaryrefslogtreecommitdiff
path: root/tests/client/script_qmltest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/script_qmltest.py')
-rwxr-xr-xtests/client/script_qmltest.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/client/script_qmltest.py b/tests/client/script_qmltest.py
new file mode 100755
index 0000000..385256c
--- /dev/null
+++ b/tests/client/script_qmltest.py
@@ -0,0 +1,12 @@
+#!/usr/bin/python2.7
+
+import time
+from menuscript import Script, ActionList, MENU_OBJECT_PATH
+
+al = ActionList(MENU_OBJECT_PATH)
+al.appendItem("Menu0", "Menu0")
+al.appendItem("Menu1", "Menu1")
+
+t = Script.create(al)
+t.run()
+