summary refs log tree commit diff
path: root/tests/storage/test_roommember.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-12-02 15:12:02 +0000
committerRichard van der Hoff <richard@matrix.org>2020-12-02 17:53:38 +0000
commit90cf1eec44940f8ede4a7f0490da43021c84a13a (patch)
treeb6421eb26044aba2fe53e0a5f5128db5e2e425b2 /tests/storage/test_roommember.py
parentApply an IP range blacklist to push and key revocation requests. (#8821) (diff)
downloadsynapse-90cf1eec44940f8ede4a7f0490da43021c84a13a.tar.xz
Remove redundant mocking
Diffstat (limited to 'tests/storage/test_roommember.py')
-rw-r--r--tests/storage/test_roommember.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/storage/test_roommember.py b/tests/storage/test_roommember.py
index 5ba1db2332..d2aed66f6d 100644
--- a/tests/storage/test_roommember.py
+++ b/tests/storage/test_roommember.py
@@ -14,8 +14,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from unittest.mock import Mock
-
 from synapse.api.constants import Membership
 from synapse.rest.admin import register_servlets_for_client_rest_resource
 from synapse.rest.client.v1 import login, room
@@ -34,12 +32,6 @@ class RoomMemberStoreTestCase(unittest.HomeserverTestCase):
         room.register_servlets,
     ]
 
-    def make_homeserver(self, reactor, clock):
-        hs = self.setup_test_homeserver(
-            resource_for_federation=Mock(), federation_http_client=None
-        )
-        return hs
-
     def prepare(self, reactor, clock, hs: TestHomeServer):
 
         # We can't test the RoomMemberStore on its own without the other event