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):
|
||||
""" Set up the objects needed for the unit tests. """
|
||||
Gtk.Builder = mock.MagicMock(spec=Gtk.Builder)
|
||||
self.dxcluster = DXCluster(builder=Gtk.Builder())
|
||||
PyQSO = mock.MagicMock()
|
||||
self.dxcluster = DXCluster(application=PyQSO())
|
||||
|
||||
def tearDown(self):
|
||||
""" Destroy any unit test resources. """
|
||||
|
|
Ładowanie…
Reference in New Issue