]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Fix fetch_branch() check for BranchNotFoundError with newer git 1342/head
authorThomas Bechtold <tbechtold@suse.com>
Fri, 1 Nov 2019 08:13:04 +0000 (09:13 +0100)
committerThomas Bechtold <tbechtold@suse.com>
Tue, 5 Nov 2019 07:55:57 +0000 (08:55 +0100)
commit9af430959c2bf12a7ab0193a5701d6ff684481b8
treee8758b53041d236339dccaa4ef872ba774a4f390
parent5052ff0989dc5fc933f8be950457a169258f9ef0
Fix fetch_branch() check for BranchNotFoundError with newer git

With newer git versions, the string when a branch is not found
is lower case[1].
This fixes the test TestRepoUtils.test_fetch_branch_fake_branch which
was failing due to this problem.

[1] https://github.com/git/git/commit/0b9c3afdbfb629363
teuthology/repo_utils.py
teuthology/test/test_repo_utils.py