@@ -23,7 +23,7 @@ from functools import wraps
2323import logging
2424import os.path
2525
26−from unity8 import get_mocks_library_path
26+from unity8 import get_mocks_library_path, get_default_extra_mock_libraries
2727
2828
2929logger = logging.getLogger(__name__)
@@ -35,7 +35,10 @@ def with_lightdm_mock(mock_type):
3535 @wraps(fn)
3636 def wrapper(*args, **kwargs):
3737 logger.info("Setting up LightDM mock type '%s'", mock_type)
38− new_ld_library_path = _get_ld_library_path(mock_type)
38+ new_ld_library_path = "%s:%s" % (
39+ get_default_extra_mock_libraries(),
40+ _get_ld_library_path(mock_type)
41+ )
3942 logger.info("New library path: %s", new_ld_library_path)
4043 tests_self = args[0]
4144 tests_self.patch_environment(