From 708a497c369601909bc57768bc929fdccc235406 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 18 Jan 2018 15:14:28 +0200 Subject: Change: rename 'name' field on pipelines to 'pipeline' For consistency. --- ick2/projectapi_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ick2/projectapi_tests.py') 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'}, ], -- cgit v1.2.1