Skip to content

Commit f94dfeb

Browse files
committed
tests: use raw_repo fixture for repo __hash__() tests
1 parent f343a29 commit f94dfeb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/repo/test_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ def test_cmp(self, repo):
7575
err = f"failed {r1} {op} {r2}"
7676
assert op_func(config.add_repo_path(path, *r1), config.add_repo_path(path, *r2)), err
7777

78-
def test_hash(self, repo):
78+
def test_hash_knave(self, raw_repo):
7979
config = Config()
80-
r1 = config.add_repo_path(repo.path)
81-
r2 = config.add_repo_path(repo.path, "fake")
80+
r1 = config.add_repo_path(raw_repo.path)
81+
r2 = config.add_repo_path(raw_repo.path, "fake")
8282
assert len({r1, r2}) == 2
8383

8484
def test_contains(self, repo):

0 commit comments

Comments
 (0)