diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-18 15:14:28 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-18 15:18:03 +0200 |
commit | 708a497c369601909bc57768bc929fdccc235406 (patch) | |
tree | e6f5a025a280d74d13b28452dfa6e6dc3b8e2953 /ick2/projectapi_tests.py | |
parent | b7f0f336a6300f805db64139a507996df182d765 (diff) | |
download | ick2-708a497c369601909bc57768bc929fdccc235406.tar.gz |
Change: rename 'name' field on pipelines to 'pipeline'
For consistency.
Diffstat (limited to 'ick2/projectapi_tests.py')
-rw-r--r-- | ick2/projectapi_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ick2/projectapi_tests.py b/ick2/projectapi_tests.py index 4e55ccf..c3e35f5 100644 --- a/ick2/projectapi_tests.py +++ b/ick2/projectapi_tests.py @@ -45,7 +45,7 @@ class ProjectAPITests(unittest.TestCase): def test_creates_project(self): pipeline = { - 'name': 'build', + 'pipeline': 'build', 'actions': [ {'shell': 'step-1'}, ], @@ -72,7 +72,7 @@ class ProjectAPITests(unittest.TestCase): 'project': 'foo', 'pipelines': [ { - 'name': 'build', + 'pipeline': 'build', 'actions': [ { 'shell': 'step-1', @@ -138,7 +138,7 @@ class ProjectAPITests(unittest.TestCase): def test_updates_pipeline_status(self): pipeline = { - 'name': 'build', + 'pipeline': 'build', 'actions': [ {'shell': 'step-1'}, ], |