@@ -41,6 +41,7 @@ from unity8 import (
4141 get_binary_path,
4242 get_mocks_library_path,
4343 get_default_extra_mock_libraries,
44+ get_data_path
4445)
4546from unity8.shell.emulators import UnityEmulatorBase
4647from unity8.shell.emulators.dash import Dash
@@ -120,7 +121,9 @@ class UnityTestCase(AutopilotTestCase):
120121 self._proxy = None
121122 self._lightdm_mock_type = None
122123 self._qml_mock_enabled = True
123− self._environment = {}
124+ self._environment = {
125+ 'XDG_DATA_HOME': get_data_path()
126+ }
124127
125128 #### FIXME: This is a work around re: lp:1238417 ####
126129 if model() != "Desktop":