diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-03-15 11:14:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 11:14:39 -0400 |
commit | d29b71aa50f568c3b951b95f2ea3009292b95630 (patch) | |
tree | 716219dfb3531e33e99333f2f48131c968d5cec0 /tests/server.py | |
parent | Don't go into federation catch up mode so easily (#9561) (diff) | |
download | synapse-d29b71aa50f568c3b951b95f2ea3009292b95630.tar.xz |
Fix remaining mypy issues due to Twisted upgrade. (#9608)
Diffstat (limited to '')
-rw-r--r-- | tests/server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server.py b/tests/server.py index 863f6da738..2287d20076 100644 --- a/tests/server.py +++ b/tests/server.py @@ -16,6 +16,7 @@ from twisted.internet.interfaces import ( IReactorPluggableNameResolver, IReactorTCP, IResolverSimple, + ITransport, ) from twisted.python.failure import Failure from twisted.test.proto_helpers import AccumulatingProtocol, MemoryReactorClock @@ -467,6 +468,7 @@ def get_clock(): return clock, hs_clock +@implementer(ITransport) @attr.s(cmp=False) class FakeTransport: """ |