diff options
author | Tobias Henkel <tobias.henkel@bmw.de> | 2020-01-18 13:55:10 +0100 |
---|---|---|
committer | Tobias Henkel <tobias.henkel@bmw.de> | 2020-01-18 13:55:10 +0100 |
commit | 252ae3dcd26e63ca77d203765b6c878094469eca (patch) | |
tree | d4af5f09121607105c5da73e053d0518780dfbfa /tests | |
parent | b96b81000d2625f6db4b080b6c704e4dae1e350f (diff) | |
download | zuul-252ae3dcd26e63ca77d203765b6c878094469eca.tar.gz |
Add job.override-checkout to rest api
The override-checkout property of a job is currently not exposed via
the rest api. Add that to the job serialization and display it in the
job tab in the ui.
Change-Id: Ia7b7d85095c771f94cddcbb360f1028f77892e0c
Story: 2005518
Task: 30637
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_web.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/unit/test_web.py b/tests/unit/test_web.py index d8443c50e..52caba989 100644 --- a/tests/unit/test_web.py +++ b/tests/unit/test_web.py @@ -347,6 +347,7 @@ class TestWeb(BaseTestWeb): 'aliases': [], 'state': 'unknown'}], }, + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -388,6 +389,7 @@ class TestWeb(BaseTestWeb): 'aliases': [], 'state': 'unknown'}], }, + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -424,6 +426,7 @@ class TestWeb(BaseTestWeb): 'irrelevant_files': [], 'match_on_config_updates': True, 'name': 'test-job', + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -542,6 +545,7 @@ class TestWeb(BaseTestWeb): 'irrelevant_files': [], 'match_on_config_updates': True, 'name': 'project-merge', + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -576,6 +580,7 @@ class TestWeb(BaseTestWeb): 'irrelevant_files': [], 'match_on_config_updates': True, 'name': 'project-test1', + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -610,6 +615,7 @@ class TestWeb(BaseTestWeb): 'irrelevant_files': [], 'match_on_config_updates': True, 'name': 'project-test2', + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -644,6 +650,7 @@ class TestWeb(BaseTestWeb): 'irrelevant_files': [], 'match_on_config_updates': True, 'name': 'project1-project2-integration', + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'protected': None, @@ -698,6 +705,7 @@ class TestWeb(BaseTestWeb): 'irrelevant_files': [], 'match_on_config_updates': True, 'name': 'project-post', + 'override_checkout': None, 'parent': 'base', 'post_review': None, 'post_run': [], |