Skip to content

Commit

Permalink
Merge pull request #2014 from sanic-org/test-manager-fix
Browse files Browse the repository at this point in the history
Fix typo in asgi client
  • Loading branch information
ahopkins authored Jan 31, 2021
2 parents afb527b + 0165c9c commit ffca01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanic/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ def asgi_client(self): # noqa
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)
Expand Down

0 comments on commit ffca01f

Please sign in to comment.