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