mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 12:24:58 -04:00
Fix typechecks against twisted trunk (#13061)
This commit is contained in:
parent
bd03332a1d
commit
a4ae1406d1
3 changed files with 6 additions and 4 deletions
|
@ -119,7 +119,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
|
|||
join_event = self._build_and_send_join_event(OTHER_SERVER, OTHER_USER, room_id)
|
||||
|
||||
# check the state group
|
||||
sg = self.successResultOf(
|
||||
sg = self.get_success(
|
||||
self.store._get_state_group_for_event(join_event.event_id)
|
||||
)
|
||||
|
||||
|
@ -149,7 +149,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
|
|||
self.assertIsNotNone(e.rejected_reason)
|
||||
|
||||
# ... and the state group should be the same as before
|
||||
sg2 = self.successResultOf(self.store._get_state_group_for_event(ev.event_id))
|
||||
sg2 = self.get_success(self.store._get_state_group_for_event(ev.event_id))
|
||||
|
||||
self.assertEqual(sg, sg2)
|
||||
|
||||
|
@ -172,7 +172,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
|
|||
join_event = self._build_and_send_join_event(OTHER_SERVER, OTHER_USER, room_id)
|
||||
|
||||
# check the state group
|
||||
sg = self.successResultOf(
|
||||
sg = self.get_success(
|
||||
self.store._get_state_group_for_event(join_event.event_id)
|
||||
)
|
||||
|
||||
|
@ -203,7 +203,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
|
|||
self.assertIsNotNone(e.rejected_reason)
|
||||
|
||||
# ... and the state group should be the same as before
|
||||
sg2 = self.successResultOf(self.store._get_state_group_for_event(ev.event_id))
|
||||
sg2 = self.get_success(self.store._get_state_group_for_event(ev.event_id))
|
||||
|
||||
self.assertEqual(sg, sg2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue