diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-12-18 18:47:13 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-12-18 18:47:13 +0000 |
commit | 041ac476a53f7adaa436309ccbb85f269bbb47dd (patch) | |
tree | 0157b5c391a54b73a3a50e8fa1ad947c00131ea0 /tests | |
parent | Replace distributor deferred list, with a simple for loop until I understand ... (diff) | |
download | synapse-041ac476a53f7adaa436309ccbb85f269bbb47dd.tar.xz |
Supply auth_chain along with current state in '/state/', fetch auth events from a remote server if we are missing some of them
Diffstat (limited to '')
-rw-r--r-- | tests/federation/test_federation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/federation/test_federation.py b/tests/federation/test_federation.py index 79ac1ce10d..3e484cd303 100644 --- a/tests/federation/test_federation.py +++ b/tests/federation/test_federation.py @@ -52,6 +52,7 @@ class FederationTestCase(unittest.TestCase): "get_received_txn_response", "set_received_txn_response", "get_destination_retry_timings", + "get_auth_chain", ]) self.mock_persistence.get_received_txn_response.return_value = ( defer.succeed(None) @@ -59,6 +60,7 @@ class FederationTestCase(unittest.TestCase): self.mock_persistence.get_destination_retry_timings.return_value = ( defer.succeed(DestinationsTable.EntryType("", 0, 0)) ) + self.mock_persistence.get_auth_chain.return_value = [] self.mock_config = Mock() self.mock_config.signing_key = [MockKey()] self.clock = MockClock() |