From 975c7d825b0b9358e38b9cd0ac2de98b68195b0c Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 12 Apr 2013 21:22:58 +0200 Subject: [PATCH] Add documentation. --- tests/test_dosage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_dosage.py b/tests/test_dosage.py index edf2c343d..4e7451d22 100644 --- a/tests/test_dosage.py +++ b/tests/test_dosage.py @@ -49,8 +49,11 @@ class TestDosage (unittest.TestCase): run_with_options(["-m", "calvinandhobbes"]) def test_error(self): + # no comics specified self.assertRaises(OSError, run_with_options, []) + # unknown option self.assertRaises(OSError, run_with_options, ['--imadoofus']) + # multiple comics match self.assertRaises(OSError, run_with_options, ['Garfield']) def test_fetch_html(self):