From e0011152214ae19283dc043ab355822c0baf7c51 Mon Sep 17 00:00:00 2001 From: "Amber H. Brown" Date: Tue, 18 Jun 2019 21:24:56 +1000 Subject: [PATCH] fix --- tests/federation/test_complexity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/federation/test_complexity.py b/tests/federation/test_complexity.py index 3072fdaf9d..c499d9d9d6 100644 --- a/tests/federation/test_complexity.py +++ b/tests/federation/test_complexity.py @@ -13,8 +13,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +from mock import Mock + from twisted.internet import defer +from synapse.api.errors import Codes, SynapseError from synapse.config.ratelimiting import FederationRateLimitConfig from synapse.federation.transport import server from synapse.rest import admin