mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:44:53 -04:00
Move rest APIs back under the rest directory
This commit is contained in:
parent
1d2016b4a8
commit
97c68c508d
31 changed files with 33 additions and 19 deletions
|
@ -18,7 +18,7 @@
|
|||
# twisted imports
|
||||
from twisted.internet import defer
|
||||
|
||||
import synapse.client.v1.room
|
||||
import synapse.rest.client.v1.room
|
||||
from synapse.server import HomeServer
|
||||
|
||||
from ...utils import MockHttpResource, MockClock, SQLiteMemoryDbPool, MockKey
|
||||
|
@ -104,7 +104,7 @@ class RoomTypingTestCase(RestTestCase):
|
|||
hs.get_handlers().room_member_handler.fetch_room_distributions_into = (
|
||||
fetch_room_distributions_into)
|
||||
|
||||
synapse.client.v1.room.register_servlets(hs, self.mock_resource)
|
||||
synapse.rest.client.v1.room.register_servlets(hs, self.mock_resource)
|
||||
|
||||
self.room_id = yield self.create_room_as(self.user_id)
|
||||
# Need another user to make notifications actually work
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue