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