on xenial help sign in
Fix and log the new path.
commitebf2cc910309b527e022a63b4b43ea7c99ede10d authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 4 Oct 2013, 17:39 (13 years ago) parent5e90769
1 file changed+4−1
tests/autopilot/unity8/shell/tests/__init__.py+4−1
tests/autopilot/unity8/shell/tests/__init__.py+4−1
@@ -212,7 +212,10 @@ class UnityTestCase(AutopilotTestCase):
212212 qml_import_path = [get_mocks_library_path()]
213213 if os.getenv('QML2_IMPORT_PATH') is not None:
214214 qml_import_path.insert(0, os.getenv('QML2_IMPORT_PATH'))
215− self.patch_environment('QML2_IMPORT_PATH', ':'.join(mocks_library_path))
215+
216+ qml_import_path = ':'.join(qml_import_path)
217+ logger.info("New QML2 import path: %s", qml_import_path)
218+ self.patch_environment('QML2_IMPORT_PATH', qml_import_path)
216219
217220 def _set_proxy(self, proxy):
218221 """Keep a copy of the proxy object, so we can use it to get common