build_manifest.py: add a failure test case for branches
This commit is contained in:
parent
ea5459e127
commit
17195ea3aa
@ -75,6 +75,9 @@ def test_get_project_branch():
|
||||
assert fourteen is not None
|
||||
assert fourteen['name'] == '1.14'
|
||||
|
||||
failure = get_project_branch(id, 'why-would-anyone-chose-this-branch-name')
|
||||
assert failure is None
|
||||
|
||||
|
||||
# Documentation: https://docs.gitlab.com/ce/api/projects.html#list-user-projects
|
||||
def search_user_namespace(user: str, project: str) -> Dict[str, str]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user