diff options
Diffstat (limited to 'ick2/workapi_tests.py')
-rw-r--r-- | ick2/workapi_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ick2/workapi_tests.py b/ick2/workapi_tests.py index 05e91a0..b4d72a7 100644 --- a/ick2/workapi_tests.py +++ b/ick2/workapi_tests.py @@ -90,6 +90,7 @@ class WorkAPITests(unittest.TestCase): 'parameters': { 'foo': 'bar', }, + 'action_id': '1', 'step': { 'action': 'create_workspace', 'where': 'host', @@ -124,6 +125,7 @@ class WorkAPITests(unittest.TestCase): 'parameters': { 'foo': 'bar', }, + 'action_id': '1', 'step': { 'action': 'create_workspace', 'where': 'host', @@ -156,6 +158,7 @@ class WorkAPITests(unittest.TestCase): # We should get the next step now. got = work.get_work(claims=claims) + expected['action_id'] = '2' expected['step'] = {'shell': 'step-1', 'where': 'host'} self.assertEqual(got, expected) @@ -164,6 +167,7 @@ class WorkAPITests(unittest.TestCase): work.update_work(done) # We should get the next step now. + expected['action_id'] = '3' expected['step'] = {'shell': 'step-2', 'where': 'host'} self.assertEqual(work.get_work(claims=claims), expected) @@ -189,6 +193,7 @@ class WorkAPITests(unittest.TestCase): 'parameters': { 'foo': 'bar', }, + 'action_id': '1', 'step': { 'action': 'create_workspace', 'where': 'host', |