From 8a07c26fec832f120add289f10275cb66a0ae7dc Mon Sep 17 00:00:00 2001 From: "Christian T. Jacobs" Date: Sat, 1 Apr 2017 18:17:08 +0100 Subject: [PATCH] Update unit test. --- pyqso/dx_cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyqso/dx_cluster.py b/pyqso/dx_cluster.py index 8fa3363..677dc9e 100644 --- a/pyqso/dx_cluster.py +++ b/pyqso/dx_cluster.py @@ -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. """