test for double done() exception

This commit is contained in:
Michael Stephens 2010-06-30 15:29:05 -04:00
parent 636e17d89c
commit a0d3010c0c

View File

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