summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-26 17:54:18 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-26 17:54:18 +0100
commitf84ddc75cbe16e01107e70de9609639816d36320 (patch)
tree4a8928493f8bc1fcfcba73ef989cd34ea563da92 /synapse
parentMerge branch 'client_server_url_rename' into develop (diff)
downloadsynapse-f84ddc75cbe16e01107e70de9609639816d36320.tar.xz
Pepper UT TODOs
Diffstat (limited to '')
-rw-r--r--synapse/rest/initial_sync.py1
-rw-r--r--synapse/rest/room.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/synapse/rest/initial_sync.py b/synapse/rest/initial_sync.py
index fab748f562..ce7937a919 100644
--- a/synapse/rest/initial_sync.py
+++ b/synapse/rest/initial_sync.py
@@ -19,6 +19,7 @@ from synapse.api.streams import PaginationConfig
 from base import RestServlet, client_path_pattern
 
 
+# TODO: Needs unit testing
 class InitialSyncRestServlet(RestServlet):
     PATTERN = client_path_pattern("/initialSync$")
 
diff --git a/synapse/rest/room.py b/synapse/rest/room.py
index a98c7b5c14..5eee49e513 100644
--- a/synapse/rest/room.py
+++ b/synapse/rest/room.py
@@ -96,6 +96,7 @@ class RoomCreateRestServlet(RestServlet):
         return (200, {})
 
 
+# TODO: Needs unit testing for generic events
 class RoomStateEventRestServlet(RestServlet):
     def register(self, http_server):
         # /room/$roomid/state/$eventtype
@@ -168,6 +169,7 @@ class RoomStateEventRestServlet(RestServlet):
             defer.returnValue((200, ""))
 
 
+# TODO: Needs unit testing for generic events + feedback
 class RoomSendEventRestServlet(RestServlet):
 
     def register(self, http_server):
@@ -228,6 +230,7 @@ class JoinRoomAliasServlet(RestServlet):
         defer.returnValue((200, ret_dict))
 
 
+# TODO: Needs unit testing
 class RoomMemberListRestServlet(RestServlet):
     PATTERN = client_path_pattern("/rooms/(?P<room_id>[^/]*)/members$")
 
@@ -255,6 +258,7 @@ class RoomMemberListRestServlet(RestServlet):
         defer.returnValue((200, members))
 
 
+# TODO: Needs unit testing
 class RoomMessageListRestServlet(RestServlet):
     PATTERN = client_path_pattern("/rooms/(?P<room_id>[^/]*)/messages$")
 
@@ -289,6 +293,7 @@ class RoomTriggerBackfill(RestServlet):
         defer.returnValue((200, res))
 
 
+# TODO: Needs unit testing
 class RoomMembershipRestServlet(RestServlet):
 
     def register(self, http_server):