Merge pull request #2014 from sanic-org/test-manager-fix
Fix typo in asgi client
This commit is contained in:
commit
ffca01ffff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user