1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Subject: Restore conftest.py file
From: Yuri Konotopov <ykonotopov@gnome.org>
Bug: https://github.com/mosquito/caio/pull/45
Forwarded: not-needed
--- /dev/null
+++ caio/tests/conftest.py
@@ -0,0 +1,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
|