diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-15 18:24:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-15 18:24:13 +0300 |
commit | cdfad21af8cc012aa561eb7e2681dd362e017d98 (patch) | |
tree | c13ded9919c32e57dc7db7b9922e5f5a4a78da4a /ick2/workapi_tests.py | |
parent | f3b1a5ee1f737ad5325dcc14cf7e0ac6f76d59d2 (diff) | |
download | ick2-cdfad21af8cc012aa561eb7e2681dd362e017d98.tar.gz |
Add: build_number to work resource
Diffstat (limited to 'ick2/workapi_tests.py')
-rw-r--r-- | ick2/workapi_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ick2/workapi_tests.py b/ick2/workapi_tests.py index fdfc601..1ee4625 100644 --- a/ick2/workapi_tests.py +++ b/ick2/workapi_tests.py @@ -80,6 +80,7 @@ class WorkAPITests(unittest.TestCase): work = self.create_work_api() expected = { 'build_id': 'foo/1', + 'build_number': 1, 'worker': 'asterix', 'project': 'foo', 'pipeline': 'build', @@ -105,6 +106,7 @@ class WorkAPITests(unittest.TestCase): # Ask for some work. expected = { 'build_id': 'foo/1', + 'build_number': 1, 'worker': 'asterix', 'project': 'foo', 'pipeline': 'build', @@ -172,6 +174,7 @@ class WorkAPITests(unittest.TestCase): # Ask for some work. expected = { 'build_id': 'foo/1', + 'build_number': 1, 'worker': 'asterix', 'project': 'foo', 'pipeline': 'build', |