From 0165c9c644f5bcbe37bae193a8f30d6cb1b8bc5b Mon Sep 17 00:00:00 2001 From: Adam Hopkins Date: Sun, 31 Jan 2021 16:41:10 +0200 Subject: [PATCH] Fix typo in asgi client --- sanic/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/app.py b/sanic/app.py index 753f477b..04a62642 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -1048,7 +1048,7 @@ class Sanic: if self._asgi_client: return self._asgi_client elif self._test_manager: - return self._test_manager.test_client + return self._test_manager.asgi_client from sanic_testing.testing import SanicASGITestClient # type: ignore self._asgi_client = SanicASGITestClient(self)