This commit is contained in:
Adam Hopkins
2020-09-27 10:27:12 +03:00
parent eb8df1fc18
commit bd4e1cdc1e
2 changed files with 7 additions and 2 deletions

View File

@@ -105,7 +105,9 @@ class SanicTestClient:
if self.port:
server_kwargs = dict(
host=host or self.host, port=self.port, **server_kwargs,
host=host or self.host,
port=self.port,
**server_kwargs,
)
host, port = host or self.host, self.port
else: