diff options
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r-- | tests/test_cmdline.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 3f471b88..1e72c4f4 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -654,6 +654,11 @@ class CmdLineStdoutTest(BaseCmdLineTest): self.assertIn("--timid", out) self.assertGreater(out.count("\n"), 10) + def test_unknown_topic(self): + # Should probably be an ERR return, but meh. + self.command_line("help foobar") + self.assertEqual(self.stdout(), "Don't know topic 'foobar'\n") + def test_error(self): self.command_line("fooey kablooey", ret=ERR) out = self.stdout() |