diff --git a/tests/test_dosage.py b/tests/test_dosage.py index b72720cc8..9fdf8e41f 100644 --- a/tests/test_dosage.py +++ b/tests/test_dosage.py @@ -83,8 +83,10 @@ class TestDosage(object): with pytest.raises(SystemExit): cmd(option) - def test_module_help(self): - cmd_ok("-m", "xkcd") + def test_module_help(self, capfd): + cmd_ok("-m", "-t", "xkcd") + out, err = capfd.readouterr() + assert re.match(r'([0-9][0-9]:){2}.. xkcd>', out) def test_no_comics_specified(self): cmd_err()