summary refs log tree commit diff
path: root/tests/http/test_site.py
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-05-23 13:23:26 +0200
committerGitHub <noreply@github.com>2022-05-23 11:23:26 +0000
commit444588c5fc5e4fd0f3796d389fe5f062acc55286 (patch)
tree9fc7c743e6f3b19361f61035a0e6c381e782e947 /tests/http/test_site.py
parentFix Complement `TestCanRegisterAdmin` with workers, by adding Complement's sh... (diff)
downloadsynapse-444588c5fc5e4fd0f3796d389fe5f062acc55286.tar.xz
Add some type hints to tests files (#12833)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'tests/http/test_site.py')
-rw-r--r--tests/http/test_site.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/test_site.py b/tests/http/test_site.py
index 8c13b4f693..b2dbf76d33 100644
--- a/tests/http/test_site.py
+++ b/tests/http/test_site.py
@@ -36,7 +36,7 @@ class SynapseRequestTestCase(HomeserverTestCase):
         # as a control case, first send a regular request.
 
         # complete the connection and wire it up to a fake transport
-        client_address = IPv6Address("TCP", "::1", "2345")
+        client_address = IPv6Address("TCP", "::1", 2345)
         protocol = factory.buildProtocol(client_address)
         transport = StringTransport()
         protocol.makeConnection(transport)