CR fix: fix function names, replace map to generator comprehension

This commit is contained in:
Yuriy Chebyshev 2022-07-12 21:09:30 +03:00
parent 2984c83099
commit 7df7273de4
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ async def test_commands_filter_not_checked():
assert not await start_filter.check(message_with_command)
def test_commands_filter_not_checked():
def test_commands_filter_raises_error():
with pytest.raises(ValueError):
start_filter = Command(commands=42) # noqa
with pytest.raises(ValueError):