on xenial help sign in
remove overzealous type setting
commit03a5787a785278e9b01f67d3d248e380ec6c63ca authorChristopher Lee <chris.lee@canonical.com> dateTue 12 Nov 2013, 20:42 (13 years ago) parent754b6d1
2 files changed+4−4
tests/autopilot/unity8/__init__.py+3−3 tests/autopilot/unity8/shell/tests/__init__.py+1−1
tests/autopilot/unity8/__init__.py+3−3
@@ -94,9 +94,9 @@ def get_binary_path(binary="unity8"):
9494def get_data_dirs():
9595 """Prepend a mock data path to XDG_DATA_DIRS."""
9696 if running_installed_tests():
97− data_path = u"/usr/share/unity8/mocks/data"
97+ data_path = "/usr/share/unity8/mocks/data"
9898 else:
99− data_path = u"../../mocks/data"
99+ data_path = "../../mocks/data"
100100 full_data_path = os.path.abspath(
101101 os.path.join(
102102 os.path.dirname(__file__),
@@ -107,7 +107,7 @@ def get_data_dirs():
107107 if os.path.exists(full_data_path):
108108 xdg_path = _get_xdg_env_path()
109109 if xdg_path is not None:
110− return u"{0}:{1}".format(full_data_path, xdg_path)
110+ return "{0}:{1}".format(full_data_path, xdg_path)
111111 else:
112112 return full_data_path
113113 else:
tests/autopilot/unity8/shell/tests/__init__.py+1−1
@@ -298,7 +298,7 @@ class UnityTestCase(AutopilotTestCase):
298298
299299 def _launch_unity_with_upstart(self, binary_path, args):
300300 logger.info("Starting unity")
301− self._patch_environment(u"QT_LOAD_TESTABILITY", 1)
301+ self._patch_environment("QT_LOAD_TESTABILITY", 1)
302302
303303 binary_arg = "BINARY=%s" % binary_path
304304 extra_args = "ARGS=%s" % " ".join(args)