Commit 79e6083d authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[trac588] Change test to actually test something

parent a92158cc
......@@ -318,7 +318,7 @@ class TestConfigCommands(unittest.TestCase):
self.tool.precmd(line)
self.tool._update_all_modules_info = update_all_modules_info
# If line is equals to 'EOF', _update_all_modules_info() shouldn't be called
self.assertRaises(None, precmd('EOF'))
precmd('EOF')
self.assertRaises(socket.error, precmd, 'continue')
def test_run(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment