This commit is contained in:
Adam Hopkins 2021-01-28 09:34:13 +02:00
parent 693f2a5014
commit 5abeae8f46

View File

@ -1033,7 +1033,7 @@ class Sanic:
# -------------------------------------------------------------------- # # -------------------------------------------------------------------- #
@property @property
def test_client(self): def test_client(self): # noqa
if self._test_client: if self._test_client:
return self._test_client return self._test_client
elif self._test_manager: elif self._test_manager:
@ -1044,7 +1044,7 @@ class Sanic:
return self._test_client return self._test_client
@property @property
def asgi_client(self): def asgi_client(self): # noqa
if self._asgi_client: if self._asgi_client:
return self._asgi_client return self._asgi_client
elif self._test_manager: elif self._test_manager: