mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 00:44:21 -05:00
Fix tests
This commit is contained in:
parent
e124128542
commit
07ad03d5df
@ -13,6 +13,7 @@ class RegisterRestServletTestCase(unittest.TestCase):
|
|||||||
self.request_data = ""
|
self.request_data = ""
|
||||||
self.request = Mock(
|
self.request = Mock(
|
||||||
content=Mock(read=Mock(side_effect=lambda: self.request_data)),
|
content=Mock(read=Mock(side_effect=lambda: self.request_data)),
|
||||||
|
path='/_matrix/api/v2_alpha/register'
|
||||||
)
|
)
|
||||||
self.request.args = {}
|
self.request.args = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user