summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-03-09 07:09:49 -0500
committerGitHub <noreply@github.com>2023-03-09 07:09:49 -0500
commite7c3832ba65aa3b82d3738c6f8554e21d9d87d04 (patch)
treede209f4407fbd7e6337030ded146bbbd01e5a7cb /tests
parentAdd topic and name events to group of events that are batch persisted when cr... (diff)
downloadsynapse-e7c3832ba65aa3b82d3738c6f8554e21d9d87d04.tar.xz
Pull in netaddr type hints. (#15231)
And fix any issues from having those type hints.
Diffstat (limited to 'tests')
-rw-r--r--tests/http/test_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/test_client.py b/tests/http/test_client.py
index f6d6684985..57b6a84e23 100644
--- a/tests/http/test_client.py
+++ b/tests/http/test_client.py
@@ -210,8 +210,8 @@ class BlacklistingAgentTest(TestCase):
         """Apply the blacklisting agent and ensure it properly blocks connections to particular IPs."""
         agent = BlacklistingAgentWrapper(
             Agent(self.reactor),
-            ip_whitelist=self.ip_whitelist,
             ip_blacklist=self.ip_blacklist,
+            ip_whitelist=self.ip_whitelist,
         )
 
         # The unsafe IPs should be rejected.