diff --git a/gitlab/build_manifest.py b/gitlab/build_manifest.py index f98c946ed8..2e366c35d9 100755 --- a/gitlab/build_manifest.py +++ b/gitlab/build_manifest.py @@ -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]: