From a0d3010c0c8de3af43a84fa8a28323790d7d2ff5 Mon Sep 17 00:00:00 2001 From: Michael Stephens Date: Wed, 30 Jun 2010 15:29:05 -0400 Subject: [PATCH] test for double done() exception --- saucebrush/tests/recipes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/saucebrush/tests/recipes.py b/saucebrush/tests/recipes.py index b40f18d..5c0b4d9 100644 --- a/saucebrush/tests/recipes.py +++ b/saucebrush/tests/recipes.py @@ -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])