Add documentation.
This commit is contained in:
parent
d67455b2d0
commit
975c7d825b
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue