aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client')
-rwxr-xr-xtests/client/script_actiongrouptest.py2
-rwxr-xr-xtests/client/script_menuchangestest.py2
-rwxr-xr-xtests/client/script_modeltest.py6
-rwxr-xr-xtests/client/script_qmltest.py2
-rwxr-xr-xtests/client/script_servicetest.py2
5 files changed, 7 insertions, 7 deletions
diff --git a/tests/client/script_actiongrouptest.py b/tests/client/script_actiongrouptest.py
index 43409da..2af4841 100755
--- a/tests/client/script_actiongrouptest.py
+++ b/tests/client/script_actiongrouptest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python3
import time
from gi.repository import GLib
diff --git a/tests/client/script_menuchangestest.py b/tests/client/script_menuchangestest.py
index 67f2ee0..47e37bb 100755
--- a/tests/client/script_menuchangestest.py
+++ b/tests/client/script_menuchangestest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python3
import time
from menuscript import Script, ActionList, MENU_OBJECT_PATH
diff --git a/tests/client/script_modeltest.py b/tests/client/script_modeltest.py
index 95df442..84a0d9c 100755
--- a/tests/client/script_modeltest.py
+++ b/tests/client/script_modeltest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python3
import time
from gi.repository import GLib
@@ -8,7 +8,7 @@ al = ActionList(MENU_OBJECT_PATH)
# create map
pmap = {'int64' : GLib.Variant('x', -42),
- 'string': GLib.Variant('s', u'42'),
+ 'string': GLib.Variant('s', '42'),
'double': GLib.Variant('d', 42.42)}
al.appendItem("Menu0", "Menu0Act", None, None, {'x-boolean' : GLib.Variant('b', True),
@@ -20,7 +20,7 @@ al.appendItem("Menu0", "Menu0Act", None, None, {'x-boolean' : GLib.Variant('b',
'x-int64' : GLib.Variant('x', -42),
'x-uint64' : GLib.Variant('t', 42),
'x-double' : GLib.Variant('d', 42.42),
- 'x-string' : GLib.Variant('s', u'42'),
+ 'x-string' : GLib.Variant('s', '42'),
'x-map' : GLib.Variant('a{sv}', pmap),
})
al.appendItem("Menu1", "Menu1Act")
diff --git a/tests/client/script_qmltest.py b/tests/client/script_qmltest.py
index 385256c..c93e221 100755
--- a/tests/client/script_qmltest.py
+++ b/tests/client/script_qmltest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python3
import time
from menuscript import Script, ActionList, MENU_OBJECT_PATH
diff --git a/tests/client/script_servicetest.py b/tests/client/script_servicetest.py
index 385256c..c93e221 100755
--- a/tests/client/script_servicetest.py
+++ b/tests/client/script_servicetest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python3
import time
from menuscript import Script, ActionList, MENU_OBJECT_PATH