Tweak comments
This commit is contained in:
@@ -117,6 +117,8 @@ class MsisdnRequestTokenBody(ThreepidRequestTokenBody):
|
||||
|
||||
class SlidingSyncBody(RequestBodyModel):
|
||||
"""
|
||||
Sliding Sync API request body.
|
||||
|
||||
Attributes:
|
||||
lists: Sliding window API. A map of list key to list information
|
||||
(:class:`SlidingSyncList`). Max lists: 100. The list keys should be
|
||||
|
||||
@@ -12,7 +12,10 @@ from tests.unittest import HomeserverTestCase
|
||||
|
||||
|
||||
class GetSyncRoomIdsForUserTestCase(HomeserverTestCase):
|
||||
"""Tests Sliding Sync handler `get_sync_room_ids_for_user`."""
|
||||
"""
|
||||
Tests Sliding Sync handler `get_sync_room_ids_for_user()` to make sure it returns
|
||||
the correct list of rooms IDs.
|
||||
"""
|
||||
|
||||
servlets = [
|
||||
admin.register_servlets,
|
||||
@@ -192,7 +195,7 @@ class GetSyncRoomIdsForUserTestCase(HomeserverTestCase):
|
||||
|
||||
def test_no_joins_after_to_token(self) -> None:
|
||||
"""
|
||||
Rooms we join after the `to_token` should not show up. See condition "2b)"
|
||||
Rooms we join after the `to_token` should *not* show up. See condition "2b)"
|
||||
comments in the `get_sync_room_ids_for_user()` method.
|
||||
"""
|
||||
user1_id = self.register_user("user1", "pass")
|
||||
|
||||
Reference in New Issue
Block a user