mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 01:15:31 +00:00
Maximum coverage
This commit is contained in:
parent
6fadb8feb2
commit
e37395b161
3 changed files with 5 additions and 3 deletions
|
|
@ -3,7 +3,6 @@ import copy
|
|||
import pytest
|
||||
from asynctest import CoroutineMock, patch
|
||||
|
||||
from aiogram import Bot
|
||||
from aiogram.api.client.base import BaseBot
|
||||
from aiogram.api.client.session.aiohttp import AiohttpSession
|
||||
from aiogram.api.methods import GetMe
|
||||
|
|
@ -22,6 +21,7 @@ class TestBaseBot:
|
|||
def test_equals(self):
|
||||
base_bot = BaseBot("42:TEST")
|
||||
assert base_bot == BaseBot("42:TEST")
|
||||
assert base_bot != "42:TEST"
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_emit(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue