on xenial help sign in
Fix and log the new path.
ebf2cc9Michał Sawicz
tests/autopilot/unity8/shell/tests/__init__.py+4−1
@@ -212,7 +212,10 @@ class UnityTestCase(AutopilotTestCase):
212 qml_import_path = [get_mocks_library_path()]
212 qml_import_path = [get_mocks_library_path()]
213 if os.getenv('QML2_IMPORT_PATH') is not None:
213 if os.getenv('QML2_IMPORT_PATH') is not None:
214 qml_import_path.insert(0, os.getenv('QML2_IMPORT_PATH'))
214 qml_import_path.insert(0, os.getenv('QML2_IMPORT_PATH'))
215+
216+ qml_import_path = ':'.join(qml_import_path)
217+ logger.info("New QML2 import path: %s", qml_import_path)
215− self.patch_environment('QML2_IMPORT_PATH', ':'.join(mocks_library_path))
218+ self.patch_environment('QML2_IMPORT_PATH', qml_import_path)
216
219
217 def _set_proxy(self, proxy):
220 def _set_proxy(self, proxy):
218 """Keep a copy of the proxy object, so we can use it to get common
221 """Keep a copy of the proxy object, so we can use it to get common