@@ -41,7 +41,7 @@ from unity8 import (
41 get_binary_path,
41 get_binary_path,
42 get_mocks_library_path,
42 get_mocks_library_path,
43 get_default_extra_mock_libraries,
43 get_default_extra_mock_libraries,
44− get_data_path
44+ get_data_dirs
46from unity8.shell.emulators import UnityEmulatorBase
46from unity8.shell.emulators import UnityEmulatorBase
47from unity8.shell.emulators.dash import Dash
47from unity8.shell.emulators.dash import Dash
@@ -122,7 +122,7 @@ class UnityTestCase(AutopilotTestCase):
122 self._lightdm_mock_type = None
122 self._lightdm_mock_type = None
123 self._qml_mock_enabled = True
123 self._qml_mock_enabled = True
124 self._environment = {
124 self._environment = {
125− 'XDG_DATA_HOME': get_data_path()
125+ 'XDG_DATA_DIRS': get_data_dirs()
128 #### FIXME: This is a work around re: lp:1238417 ####
128 #### FIXME: This is a work around re: lp:1238417 ####