We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c563a4 commit 9d52e26Copy full SHA for 9d52e26
tests/test_odb.py
@@ -57,7 +57,7 @@ def test_exists(memfs):
57
def test_exists_prefix(memfs):
58
odb = ObjectDB(memfs, "/odb")
59
with pytest.raises(KeyError):
60
- assert odb.exists_prefix("12")
+ assert odb.exists_prefix("123")
61
62
odb.add_bytes("123456", b"content")
63
assert odb.exists_prefix("123") == "123456"
@@ -68,8 +68,8 @@ def test_exists_prefix_ambiguous(memfs):
68
69
odb.add_bytes("123450", b"content")
70
with pytest.raises(ValueError) as exc:
71
72
- assert exc.value.args == ("12", ["123450", "123456"])
+ assert exc.value.args == ("123", ["123450", "123456"])
73
74
75
def test_move(memfs):
0 commit comments