File: conftest.py

package info (click to toggle)
python-aio-geojson-client 0.20-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 268 kB
  • sloc: python: 1,368; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
"""Configuration for tests."""
import pytest
from aioresponses import aioresponses


@pytest.fixture
def mock_aioresponse():
    """Return aioresponse fixture."""
    with aioresponses() as m:
        yield m