Add documentation.

This commit is contained in:
Bastian Kleineidam 2013-04-12 21:22:58 +02:00
parent d67455b2d0
commit 975c7d825b

View file

@ -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):