diff options
author | David Robertson <davidr@element.io> | 2022-07-12 19:46:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 18:46:32 +0000 |
commit | 52a0c8f2f7fc5a6dad02d3b6bdae90f3e58842c9 (patch) | |
tree | eeb8950fa40ccbb10f339456d1c9631eea99a087 /tests/handlers/test_federation_event.py | |
parent | Drop support for delegating email validation (#13192) (diff) | |
download | synapse-52a0c8f2f7fc5a6dad02d3b6bdae90f3e58842c9.tar.xz |
Rename test case method to `add_hashes_and_signatures_from_other_server` (#13255)
Diffstat (limited to 'tests/handlers/test_federation_event.py')
-rw-r--r-- | tests/handlers/test_federation_event.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/handlers/test_federation_event.py b/tests/handlers/test_federation_event.py index 4b1a8f04db..51c8dd6498 100644 --- a/tests/handlers/test_federation_event.py +++ b/tests/handlers/test_federation_event.py @@ -104,7 +104,7 @@ class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase): # mock up a load of state events which we are missing state_events = [ make_event_from_dict( - self.add_hashes_and_signatures( + self.add_hashes_and_signatures_from_other_server( { "type": "test_state_type", "state_key": f"state_{i}", @@ -131,7 +131,7 @@ class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase): # Depending on the test, we either persist this upfront (as an outlier), # or let the server request it. prev_event = make_event_from_dict( - self.add_hashes_and_signatures( + self.add_hashes_and_signatures_from_other_server( { "type": "test_regular_type", "room_id": room_id, @@ -165,7 +165,7 @@ class FederationEventHandlerTests(unittest.FederatingHomeserverTestCase): # mock up a regular event to pass into _process_pulled_event pulled_event = make_event_from_dict( - self.add_hashes_and_signatures( + self.add_hashes_and_signatures_from_other_server( { "type": "test_regular_type", "room_id": room_id, |