Skip to content

Commit

Permalink
Update pins/tests/test_versions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelizimm authored Aug 6, 2024
1 parent f2fd9a9 commit 8b88b59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pins/tests/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def test_version_from_string_too_few_hyphens():
PinsVersionError, match="version string can only have 1 '-', but contains 0"
):
Version.from_string("20220209T220116Zbaf3f")


def test_version_from_string_baddate():
with pytest.raises(PinsVersionError, match="Invalid date part of version: bug"):
Version.from_string("bug-baf3f")
Expand Down

0 comments on commit 8b88b59

Please sign in to comment.