fix cli test

This commit is contained in:
Lex Berezhny 2019-03-25 14:00:41 -04:00
parent c708c1db07
commit e0cea60c87

View file

@ -93,7 +93,7 @@ class CLITest(AsyncioTestCase):
def test_deprecated_command_daemon_not_started(self): def test_deprecated_command_daemon_not_started(self):
actual_output = StringIO() actual_output = StringIO()
with contextlib.redirect_stdout(actual_output): with contextlib.redirect_stdout(actual_output):
main(["channel", "new", "@foo", "1.0"]) main(["channel", "new", "@foo", "1.0", "video"])
self.assertEqual( self.assertEqual(
actual_output.getvalue().strip(), actual_output.getvalue().strip(),
"channel_new is deprecated, using channel_create.\n" "channel_new is deprecated, using channel_create.\n"