squash
This commit is contained in:
parent
f8f215772c
commit
933d005e5d
|
@ -127,6 +127,6 @@ def url_param_generator():
|
|||
return TYPE_TO_GENERATOR_MAP
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@pytest.fixture(scope="function")
|
||||
def app(request):
|
||||
return Sanic(request.node.name)
|
||||
|
|
|
@ -8,10 +8,11 @@ import httpcore
|
|||
import httpx
|
||||
import pytest
|
||||
|
||||
from sanic_testing.testing import HOST, SanicTestClient
|
||||
|
||||
from sanic import Sanic, server
|
||||
from sanic.compat import OS_IS_WINDOWS
|
||||
from sanic.response import text
|
||||
from sanic.testing import HOST, SanicTestClient
|
||||
|
||||
|
||||
CONFIG_FOR_TESTS = {"KEEP_ALIVE_TIMEOUT": 2, "KEEP_ALIVE": True}
|
||||
|
|
Loading…
Reference in New Issue
Block a user