From 59766708cf9eb42b6d63f139d919db326591f4df Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 16 Apr 2021 15:46:03 +0100 Subject: Fix old-style uses of self.make_request in dinum test code --- tests/federation/transport/test_knocking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/federation/transport/test_knocking.py') diff --git a/tests/federation/transport/test_knocking.py b/tests/federation/transport/test_knocking.py index 38dc0e5aa2..5b928480e7 100644 --- a/tests/federation/transport/test_knocking.py +++ b/tests/federation/transport/test_knocking.py @@ -227,7 +227,7 @@ class FederationKnockingTestCase( self.hs, room_id, user_id ) - _, channel = self.make_request( + channel = self.make_request( "GET", "/_matrix/federation/unstable/%s/make_knock/%s/%s?ver=%s" % ( @@ -271,7 +271,7 @@ class FederationKnockingTestCase( ) # Send the signed knock event into the room - _, channel = self.make_request( + channel = self.make_request( "PUT", "/_matrix/federation/unstable/%s/send_knock/%s/%s" % (KNOCK_UNSTABLE_IDENTIFIER, room_id, signed_knock_event.event_id), -- cgit 1.5.1