mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 09:22:16 -04:00
Remove spurious "SynapseRequest" result from `make_request"
This was never used, so let's get rid of it.
This commit is contained in:
parent
ac2acf1524
commit
394516ad1b
59 changed files with 742 additions and 983 deletions
|
@ -94,7 +94,7 @@ class RoomTypingTestCase(unittest.HomeserverTestCase):
|
|||
self.helper.join(self.room_id, user="@jim:red")
|
||||
|
||||
def test_set_typing(self):
|
||||
request, channel = self.make_request(
|
||||
channel = self.make_request(
|
||||
"PUT",
|
||||
"/rooms/%s/typing/%s" % (self.room_id, self.user_id),
|
||||
b'{"typing": true, "timeout": 30000}',
|
||||
|
@ -117,7 +117,7 @@ class RoomTypingTestCase(unittest.HomeserverTestCase):
|
|||
)
|
||||
|
||||
def test_set_not_typing(self):
|
||||
request, channel = self.make_request(
|
||||
channel = self.make_request(
|
||||
"PUT",
|
||||
"/rooms/%s/typing/%s" % (self.room_id, self.user_id),
|
||||
b'{"typing": false}',
|
||||
|
@ -125,7 +125,7 @@ class RoomTypingTestCase(unittest.HomeserverTestCase):
|
|||
self.assertEquals(200, channel.code)
|
||||
|
||||
def test_typing_timeout(self):
|
||||
request, channel = self.make_request(
|
||||
channel = self.make_request(
|
||||
"PUT",
|
||||
"/rooms/%s/typing/%s" % (self.room_id, self.user_id),
|
||||
b'{"typing": true, "timeout": 30000}',
|
||||
|
@ -138,7 +138,7 @@ class RoomTypingTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
self.assertEquals(self.event_source.get_current_key(), 2)
|
||||
|
||||
request, channel = self.make_request(
|
||||
channel = self.make_request(
|
||||
"PUT",
|
||||
"/rooms/%s/typing/%s" % (self.room_id, self.user_id),
|
||||
b'{"typing": true, "timeout": 30000}',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue