mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-15 01:59:31 -04:00
Pull in netaddr type hints. (#15231)
And fix any issues from having those type hints.
This commit is contained in:
parent
be4ea209e8
commit
e7c3832ba6
7 changed files with 23 additions and 12 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue