Skip to content

Commit

Permalink
Fix tests and 0.20.0dev5
Browse files Browse the repository at this point in the history
  • Loading branch information
Insoleet committed Apr 16, 2016
1 parent 3886671 commit 26173b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sakia/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ('0', '20', '0dev4')
__version_info__ = ('0', '20', '0dev5')
__version__ = '.'.join(__version_info__)
2 changes: 1 addition & 1 deletion src/sakia/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ def parse_arguments(argv):
level=logging.INFO)
else:
logging.getLogger().propagate = False
logging.getLogger('quamash').setLevel(logging.DEBUG)
logging.getLogger('quamash').setLevel(logging.INFO)
logfile = FileHandler(path.join(parameters['home'], 'sakia.log'))
logging.getLogger().addHandler(logfile)
4 changes: 2 additions & 2 deletions src/sakia/tests/unit/gui/test_main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_change_account(self):
label_status = Mock()
label_time = Mock()
combo_referentials = Mock()
combo_referentials.currentIndexChanged = {str: Mock()}
combo_referentials.currentIndexChanged = {int: Mock()}
mainwindow = MainWindow(self.app, self.account_joe,
self.homescreen, self.community_view, self.node_manager,
widget, ui, label_icon,
Expand All @@ -73,7 +73,7 @@ def test_change_account_from_none(self):
label_status = Mock()
label_time = Mock()
combo_referentials = Mock()
combo_referentials.currentIndexChanged = {str: Mock()}
combo_referentials.currentIndexChanged = {int: Mock()}

type(self.app).current_account = PropertyMock(return_value=None)
mainwindow = MainWindow(self.app, None, self.homescreen, self.community_view, self.node_manager,
Expand Down

0 comments on commit 26173b1

Please sign in to comment.