Skip to content

Commit

Permalink
test: improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 11, 2024
1 parent 24ce346 commit c0f7a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class TestUnknownSnapshotError:
def test_bytes(self):
snapshot_id = b"asdfasdfasdf"
err = UnknownSnapshotError(snapshot_id)
assert str(err) == "Unknown snapshot ID '6173..6466'."
assert str(err) == "Unknown snapshot ID '0x6173..6466'."

@pytest.mark.parametrize("snapshot_id", (123, "123"))
def test_not_bytes(self, snapshot_id):
Expand Down

0 comments on commit c0f7a65

Please sign in to comment.