test for double done() exception
This commit is contained in:
parent
636e17d89c
commit
a0d3010c0c
@ -34,6 +34,7 @@ class RecipeTestCase(unittest.TestCase):
|
||||
recipe.done()
|
||||
|
||||
self.assertRaises(ValueError, recipe.run, [2])
|
||||
self.assertRaises(ValueError, recipe.done)
|
||||
self.assertEqual(saver.saved, [1])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user