diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-11-26 14:02:12 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-11-26 14:02:12 +0100 |
commit | 3e0be8437d6794e5e73f4db8e87aa6ee81278ee3 (patch) | |
tree | c48687dff995b09ae7920bb5d642577ecbeb81ab | |
parent | 553c10959228f416b2329bfcd2d13775210ac75d (diff) | |
download | ick2-3e0be8437d6794e5e73f4db8e87aa6ee81278ee3.tar.gz |
Add: unit test adds project parameters
-rw-r--r-- | ick2/projectapi_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ick2/projectapi_tests.py b/ick2/projectapi_tests.py index 975018c..ae5190e 100644 --- a/ick2/projectapi_tests.py +++ b/ick2/projectapi_tests.py @@ -53,11 +53,15 @@ class ProjectAPITests(unittest.TestCase): ], }, ], + 'parameters': { + 'foo': 'bar', + } } api = self.create_api() self.assertEqual(api.create(project), project) self.assertEqual(api.list(), {'projects': [project]}) self.assertEqual(api.get_pipeline('foo', 'build'), {'status': 'idle'}) + self.assertEqual(api.get_pipeline('foo', 'build'), {'status': 'idle'}) def test_raises_error_when_getting_missing_pipeline(self): project = { |