summaryrefslogtreecommitdiff
path: root/test/test_refs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_refs.py')
-rw-r--r--test/test_refs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_refs.py b/test/test_refs.py
index f30d4bda..ab760a6f 100644
--- a/test/test_refs.py
+++ b/test/test_refs.py
@@ -457,7 +457,7 @@ class TestRefs(TestBase):
self.assertRaises(OSError, SymbolicReference.create, rw_repo, symref_path, cur_head.reference.commit)
# it works if the new ref points to the same reference
- SymbolicReference.create(rw_repo, symref.path, symref.reference).path == symref.path # @NoEffect
+ assert SymbolicReference.create(rw_repo, symref.path, symref.reference).path == symref.path # @NoEffect
SymbolicReference.delete(rw_repo, symref)
# would raise if the symref wouldn't have been deletedpbl
symref = SymbolicReference.create(rw_repo, symref_path, cur_head.reference)