mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-14 00:52:16 +00:00
fix: correct exception type on repository id comparison
This commit is contained in:
1 parent
c429b7427b
commit
950e9c0a07
2 files changed
+3
-3
No files matched your search
@@ -64,9 +64,9 @@ def test_lt() -> None:
|
||||
|
||||
def test_lt_invalid() -> None:
|
||||
"""
|
||||
must raise ValueError if other is not valid repository id
|
||||
must raise TypeError if other is not valid repository id
|
||||
"""
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(TypeError):
|
||||
assert RepositoryId("x86_64", "a") < 42
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user