mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-01-16 19:23:42 +00:00
fix: correct exception type on repository id comparison
This commit is contained in:
@ -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