mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-10-07 15:38:25 -04:00
storage/appservice: make appservice methods only relying on the cache synchronous
This commit is contained in:
parent
503c0ab78b
commit
9bfc617791
10 changed files with 31 additions and 41 deletions
|
@ -19,7 +19,7 @@ class RegisterRestServletTestCase(unittest.TestCase):
|
|||
|
||||
self.appservice = None
|
||||
self.auth = Mock(get_appservice_by_req=Mock(
|
||||
side_effect=lambda x: defer.succeed(self.appservice))
|
||||
side_effect=lambda x: self.appservice)
|
||||
)
|
||||
|
||||
self.auth_result = (False, None, None, None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue