Debian Codegraph @

tests/conftest.py

raw
1 from unittest.mock import AsyncMock
2
3 import pytest
4
5
6 @pytest.fixture
7 def connection():
8 class Connection:
9 pass
10
11 connection = Connection()
12 connection.send = AsyncMock()
13
14 return connection