File: conftest.py

package info (click to toggle)
caio 0.9.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: ansic: 1,645; python: 632; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pytest

from caio import variants, variants_asyncio


@pytest.fixture(params=variants)
def context_maker(request):
    return request.param.Context


@pytest.fixture(params=variants_asyncio)
def async_context_maker(request):
    return request.param.AsyncioContext