Commits

Samuel Ytterbrink committed b0d29e6

moved the import oft the mock lib to the special test, which is not in use and should be delated as a whole(thats what you have history for).

Comments (0)

Files changed (1)

src/tests/test_status_bar_feature.py

 # coding: utf-8
 import unittest
 
-import mock
-
 import pytddmon
 
 
 
     def _test_gui_should_contain_a_status_bar(self):
         # This test creates an X error in a running pytddmon session
+        import mock
         gui = pytddmon.TkGUI(mock.Mock())
         self.assertTrue(hasattr(gui, 'status_bar'))