From 4f398a834fbd0095bad54bda0f14c43416951c52 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 19 Oct 2011 14:53:06 +0200 Subject: [PATCH] /ran/done/ Signed-off-by: Steven Armstrong --- lib/cdist/test/object/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/cdist/test/object/__init__.py b/lib/cdist/test/object/__init__.py index 7064b34d..c5e9e2dd 100644 --- a/lib/cdist/test/object/__init__.py +++ b/lib/cdist/test/object/__init__.py @@ -167,17 +167,17 @@ class ObjectTestCase(unittest.TestCase): def test_state(self): self.assertEqual(self.cdist_object.state, '') - def test_state_ran(self): - self.cdist_object.state = core.Object.STATE_RAN - self.assertEqual(self.cdist_object.state, core.Object.STATE_RAN) + def test_state_prepared(self): + self.cdist_object.state = core.Object.STATE_PREPARED + self.assertEqual(self.cdist_object.state, core.Object.STATE_PREPARED) def test_state_running(self): self.cdist_object.state = core.Object.STATE_RUNNING self.assertEqual(self.cdist_object.state, core.Object.STATE_RUNNING) - def test_state_prepared(self): - self.cdist_object.state = core.Object.STATE_PREPARED - self.assertEqual(self.cdist_object.state, core.Object.STATE_PREPARED) + def test_state_done(self): + self.cdist_object.state = core.Object.STATE_DONE + self.assertEqual(self.cdist_object.state, core.Object.STATE_DONE) def test_source(self): self.assertEqual(list(self.cdist_object.source), [])