Commit 2e566904 authored by Łukasz Nowak's avatar Łukasz Nowak

Catch correct exception.

parent 00c3e8a5
...@@ -485,7 +485,7 @@ buildout = /path/to/buildout/binary ...@@ -485,7 +485,7 @@ buildout = /path/to/buildout/binary
Raises if the argument list if empty and without configuration file. Raises if the argument list if empty and without configuration file.
""" """
parser = slapgrid.parseArgumentTupleAndReturnSlapgridObject parser = slapgrid.parseArgumentTupleAndReturnSlapgridObject
self.assertRaises(IOError, parser, *()) self.assertRaises(SystemExit, parser, *())
def test_default_argument_tuple(self): def test_default_argument_tuple(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment