Comment 1 for bug 1050208

Revision history for this message
Martin Mrazik (mrazik) wrote :

btw. this is also making the unity smoke test job to pass:

+ /usr/bin/autopilot run unity.tests.test_dash.DashRevealTests.test_dash_reveal
No protocol specified
Loading tests from: /usr/lib/python2.7/dist-packages

Failed to import test module: unity.tests.test_spread
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/unity/tests/__init__.py", line 13, in <module>
    from autopilot.emulators.bamf import BamfWindow
  File "/usr/lib/python2.7/dist-packages/autopilot/emulators/bamf.py", line 18, in <module>
    from gi.repository import Gdk
  File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 244, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gdk.py", line 402, in <module>
    raise RuntimeError("Gdk couldn't be initialized")
RuntimeError: Gdk couldn't be initialized

[.../several more stacktraces later]
----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
Finished: SUCCESS