from . import qt_api

if qt_api == 'pyside':
    from PySide.QtCore import *
elif qt_api == 'pyqt':
    from PyQt4.QtCore import *
else:
    # Mock objects
    Qt = None
    def pyqtSignal(*args, **kwargs):
        pass

@@ -152,22 +152,227 @@
 ects
-%0A    Qt = None
+ for buildbot (which doesn't have Qt, but imports viewer).%0A    class Qt(object):%0A        TopDockWidgetArea = None%0A        BottomDockWidgetArea = None%0A        LeftDockWidgetArea = None%0A        RightDockWidgetArea = None%0A
 %0A   

Add attributes to Mock object to fix Travis build