kopia lustrzana https://github.com/ctjacobs/pyqso
Update unit test.
rodzic
531749270c
commit
8a07c26fec
|
@ -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. """
|
||||||
|
|
Ładowanie…
Reference in New Issue