diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-13 11:10:22 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-14 22:23:44 +0200 |
commit | 2fb35dbf240323ba5391937bc6c4fba895750029 (patch) | |
tree | 37e328900c42d9ecf35ae39dca011285c2396f44 /ick2/workapi_tests.py | |
parent | 769f03d7ff1709a43c0b82c131fae494f67cf08f (diff) | |
download | ick2-2fb35dbf240323ba5391937bc6c4fba895750029.tar.gz |
Add: move actions for a build into build resource
This way the list is known later even if the pipeline spec is changed.
Diffstat (limited to 'ick2/workapi_tests.py')
-rw-r--r-- | ick2/workapi_tests.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ick2/workapi_tests.py b/ick2/workapi_tests.py index d7ebfa9..51ac604 100644 --- a/ick2/workapi_tests.py +++ b/ick2/workapi_tests.py @@ -90,7 +90,6 @@ class WorkAPITests(unittest.TestCase): 'step': { 'shell': 'step-1', }, - 'step_index': 0, 'log': '/logs/1', } self.assertEqual(work.get_work('asterix'), expected) @@ -117,7 +116,6 @@ class WorkAPITests(unittest.TestCase): 'step': { 'shell': 'step-1', }, - 'step_index': 0, 'log': '/logs/1', } self.assertEqual(work.get_work('asterix'), expected) @@ -145,7 +143,6 @@ class WorkAPITests(unittest.TestCase): # We should get the next step now. expected['step'] = {'shell': 'step-2'} - expected['step_index'] = 1 expected['fresh_workspace'] = False self.assertEqual(work.get_work('asterix'), expected) @@ -180,7 +177,6 @@ class WorkAPITests(unittest.TestCase): 'step': { 'shell': 'step-1', }, - 'step_index': 0, 'log': '/logs/1', } self.assertEqual(work.get_work('asterix'), expected) |