CR fix: add forgotten format

This commit is contained in:
Yuriy Chebyshev 2022-07-12 13:59:39 +03:00
parent 2dffa0e3dd
commit 9b83aa36db
2 changed files with 5 additions and 5 deletions

View file

@ -141,8 +141,9 @@ async def test_commands_filter_not_checked():
assert not await start_filter.check(message_with_command)
@pytest.mark.asyncio
async def test_commands_filter_not_checked():
def test_commands_filter_not_checked():
with pytest.raises(ValueError):
start_filter = Command(commands=42) # noqa
with pytest.raises(ValueError):
start_filter = Command(commands=[42]) # noqa