everything is working now

This commit is contained in:
Dmitry Afanasyev 2022-08-28 22:58:55 +03:00
parent 62b19115cc
commit ca004145e7
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: Test-selenoid name: selenoid
on: on:
pull_request: pull_request:
push: push:

View File

@ -53,7 +53,6 @@ async def test_selenoid_text(dispatcher_fixture: Dispatcher, faker: Faker) -> No
} }
TransportBot.bot = dispatcher_fixture.bot TransportBot.bot = dispatcher_fixture.bot
# @mock.patch('app.core.bot.TransportBot.bot.send_message')
with mock.patch( with mock.patch(
'app.core.bot.TransportBot.bot.send_message', 'app.core.bot.TransportBot.bot.send_message',
return_value=data['message']['chat'], return_value=data['message']['chat'],