Skip to content

Commit

Permalink
docs: README code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
OCCASS committed Oct 26, 2022
1 parent b3658e4 commit 7e9bb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ from aiogram_tests.types.dataset import MESSAGE

@pytest.mark.asyncio
async def test_echo():
request = MockedBot(request_handler=MessageHandler(echo))
request = MockedBot(MessageHandler(echo))
calls = await request.query(message=MESSAGE.as_object(text="Hello, Bot!"))
answer_message = calls.send_messsage.fetchone()
assert answer_message.text == "Hello, Bot!"
Expand Down

0 comments on commit 7e9bb0f

Please sign in to comment.