Skip to content
Snippets Groups Projects
Commit f7e44893 authored by inso's avatar inso
Browse files

Fix tests

parent 5af14d6f
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ class TestMainWindow(unittest.TestCase, QuamashTest): ...@@ -48,6 +48,7 @@ class TestMainWindow(unittest.TestCase, QuamashTest):
label_status = Mock() label_status = Mock()
label_time = Mock() label_time = Mock()
combo_referentials = Mock() combo_referentials = Mock()
combo_referentials.currentIndexChanged = {str: Mock()}
mainwindow = MainWindow(self.app, self.account_joe, mainwindow = MainWindow(self.app, self.account_joe,
self.homescreen, self.community_view, self.node_manager, self.homescreen, self.community_view, self.node_manager,
widget, ui, label_icon, widget, ui, label_icon,
...@@ -72,6 +73,8 @@ class TestMainWindow(unittest.TestCase, QuamashTest): ...@@ -72,6 +73,8 @@ class TestMainWindow(unittest.TestCase, QuamashTest):
label_status = Mock() label_status = Mock()
label_time = Mock() label_time = Mock()
combo_referentials = Mock() combo_referentials = Mock()
combo_referentials.currentIndexChanged = {str: Mock()}
type(self.app).current_account = PropertyMock(return_value=None) type(self.app).current_account = PropertyMock(return_value=None)
mainwindow = MainWindow(self.app, None, self.homescreen, self.community_view, self.node_manager, mainwindow = MainWindow(self.app, None, self.homescreen, self.community_view, self.node_manager,
widget, ui, label_icon, widget, ui, label_icon,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment