sanic/tests/conftest.py

13 lines
203 B
Python

import sys
import pytest
from sanic import Sanic
if sys.platform in ['win32', 'cygwin']:
collect_ignore = ["test_worker.py"]
@pytest.fixture
def app(request):
return Sanic(request.node.name)