summaryrefslogtreecommitdiff
path: root/ick2/workapi_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-26 14:02:43 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-26 14:02:43 +0100
commit06d83e1063acf7790461397f29afdb7cc24d5d09 (patch)
treeffb54012a66b4bd50dad05f64bc42af7ef2ac113 /ick2/workapi_tests.py
parent3e0be8437d6794e5e73f4db8e87aa6ee81278ee3 (diff)
downloadick2-06d83e1063acf7790461397f29afdb7cc24d5d09.tar.gz
Add: unit test check work steps get project params
Diffstat (limited to 'ick2/workapi_tests.py')
-rw-r--r--ick2/workapi_tests.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/ick2/workapi_tests.py b/ick2/workapi_tests.py
index 03b25e7..f657687 100644
--- a/ick2/workapi_tests.py
+++ b/ick2/workapi_tests.py
@@ -36,6 +36,9 @@ class WorkAPITests(unittest.TestCase):
def create_project_api(self):
project = {
'project': 'foo',
+ 'parameters': {
+ 'foo': 'bar',
+ },
'pipelines': [
{
'name': 'build',
@@ -81,6 +84,9 @@ class WorkAPITests(unittest.TestCase):
'worker': 'asterix',
'project': 'foo',
'pipeline': 'build',
+ 'parameters': {
+ 'foo': 'bar',
+ },
'step': {
'shell': 'step-1',
},
@@ -104,6 +110,9 @@ class WorkAPITests(unittest.TestCase):
'worker': 'asterix',
'project': 'foo',
'pipeline': 'build',
+ 'parameters': {
+ 'foo': 'bar',
+ },
'step': {
'shell': 'step-1',
},
@@ -162,6 +171,9 @@ class WorkAPITests(unittest.TestCase):
'worker': 'asterix',
'project': 'foo',
'pipeline': 'build',
+ 'parameters': {
+ 'foo': 'bar',
+ },
'step': {
'shell': 'step-1',
},