
#from polyglotdb.gui.widgets.basic import DirectoryWidget

#def test_directory_widget(qtbot):
#    widget = DirectoryWidget()
#    qtbot.addWidget(widget)

#    widget.setPath('test')

#    assert(widget.value() == 'test')


from polyglotdb.gui.widgets.basic import DirectoryWidget

def test_directory_widget(qtbot):
    widget = DirectoryWidget()
    qtbot.addWidget(widget)

    widget.setPath('test')

    assert(widget.value() == 'test')

--- 
+++ 
@@ -1,10 +1,10 @@
 
-from polyglotdb.gui.widgets.basic import DirectoryWidget
+#from polyglotdb.gui.widgets.basic import DirectoryWidget
 
-def test_directory_widget(qtbot):
-    widget = DirectoryWidget()
-    qtbot.addWidget(widget)
+#def test_directory_widget(qtbot):
+#    widget = DirectoryWidget()
+#    qtbot.addWidget(widget)
 
-    widget.setPath('test')
+#    widget.setPath('test')
 
-    assert(widget.value() == 'test')
+#    assert(widget.value() == 'test')
Disable GUI testing for now
