Update unit test.

pull/61/head
Christian T. Jacobs 2017-04-01 18:17:08 +01:00
rodzic 531749270c
commit 8a07c26fec
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -331,8 +331,8 @@ class TestDXCluster(unittest.TestCase):
def setUp(self): def setUp(self):
""" Set up the objects needed for the unit tests. """ """ Set up the objects needed for the unit tests. """
Gtk.Builder = mock.MagicMock(spec=Gtk.Builder) PyQSO = mock.MagicMock()
self.dxcluster = DXCluster(builder=Gtk.Builder()) self.dxcluster = DXCluster(application=PyQSO())
def tearDown(self): def tearDown(self):
""" Destroy any unit test resources. """ """ Destroy any unit test resources. """