mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 21:24:28 -04:00
fix tests
This commit is contained in:
parent
992928304f
commit
0e48f7f245
3 changed files with 10 additions and 1 deletions
|
@ -53,6 +53,8 @@ class FederationTestCase(unittest.TestCase):
|
|||
"bulk_get_push_rules",
|
||||
"get_current_state",
|
||||
"set_push_actions_for_event_and_users",
|
||||
"is_guest",
|
||||
"get_state_for_events",
|
||||
]),
|
||||
resource_for_federation=NonCallableMock(),
|
||||
http_client=NonCallableMock(spec_set=[]),
|
||||
|
@ -73,6 +75,8 @@ class FederationTestCase(unittest.TestCase):
|
|||
|
||||
self.handlers.federation_handler = FederationHandler(self.hs)
|
||||
|
||||
self.datastore.get_state_for_events.return_value = {"$a:b": {}}
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def test_msg(self):
|
||||
pdu = FrozenEvent({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue