-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This test will fail:
def test_hash_directory_differs_for_same_name_in_different_subdirs(tmp_path):
"""Files with identical names but in different sub-directories must affect the hash."""
d1 = tmp_path / "proj1"
d1.mkdir()
(d1 / "a").mkdir()
(d1 / "a" / "file.txt").write_text("in a")
d2 = tmp_path / "proj2"
d2.mkdir()
(d2 / "b").mkdir()
(d2 / "b" / "file.txt").write_text("in a")
assert hash_directory(str(d1), None) != hash_directory(str(d2), None)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working