fix: correct test result type

#988
This commit is contained in:
Oleg A 2022-08-24 11:19:29 +03:00
parent 4b9149ac8f
commit 2507f128b7
No known key found for this signature in database
GPG key ID: 5FE046817A9657C5

View file

@ -10,6 +10,6 @@ class TestException:
["reason", "DetailedAiogramError('reason')"],
],
)
def test_representation(self, message: str, result: bool):
def test_representation(self, message: str, result: str):
exc = DetailedAiogramError(message=message)
assert repr(exc) == result