forked from ungleich-public/cdist
correct catching exception to IllegalObjectIdError
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
f12a83f3dd
commit
2fce038423
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class EmulatorTestCase(test.CdistTestCase):
|
|||
os.environ.update(self.env)
|
||||
os.environ['require'] = '__file'
|
||||
emu = emulator.Emulator(argv)
|
||||
self.assertRaises(emulator.IllegalRequirementError, emu.run)
|
||||
self.assertRaises(core.IllegalObjectIdError, emu.run)
|
||||
|
||||
def test_singleton_object_requirement(self):
|
||||
argv = ['__file', '/tmp/foobar']
|
||||
|
|
Loading…
Reference in a new issue