Skip to content

Commit

Permalink
added missing test - 'db' in params.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed Oct 13, 2017
1 parent aac8ea0 commit 211c116
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bauble/test/test_connmgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ def test_check_parameters_valid(self):
valid, message = presenter.check_parameters_valid(params)
self.assertFalse(valid)
params = copy.copy(presenter.connections['quisquis'])
params['db'] = ''
valid, message = presenter.check_parameters_valid(params)
self.assertFalse(valid)
params = copy.copy(presenter.connections['quisquis'])
params['host'] = ''
valid, message = presenter.check_parameters_valid(params)
self.assertFalse(valid)
Expand Down

0 comments on commit 211c116

Please sign in to comment.