2018-10-09 03:40:36 +01:00
|
|
|
import sys
|
2018-08-26 15:43:14 +01:00
|
|
|
import pytest
|
|
|
|
|
|
|
|
from sanic import Sanic
|
|
|
|
|
2018-12-30 11:18:06 +00:00
|
|
|
if sys.platform in ["win32", "cygwin"]:
|
2018-10-09 03:40:36 +01:00
|
|
|
collect_ignore = ["test_worker.py"]
|
|
|
|
|
2018-08-26 15:43:14 +01:00
|
|
|
|
|
|
|
@pytest.fixture
|
|
|
|
def app(request):
|
|
|
|
return Sanic(request.node.name)
|