Skip to content

Commit

Permalink
Merge remote-tracking branch 'fourplusone/fix/windows_refs_test'
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Nov 1, 2018
2 parents 141bcb6 + 3b95ad3 commit c2cb203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_refs.py
Expand Up @@ -380,6 +380,9 @@ def test_create_reference(self):
with pytest.raises(AlreadyExistsError) as error:
self.repo.create_reference('refs/tags/version1', LAST_COMMIT)
assert isinstance(error.value, ValueError)

# Clear error
del error

# try to create existing reference with force
reference = self.repo.create_reference('refs/tags/version1',
Expand Down

0 comments on commit c2cb203

Please sign in to comment.