Remove unused HTTP code.

pull/8800/head
Patrick Cloke 2020-12-01 12:48:16 -05:00
parent 1de016a9b5
commit 6a581821d7
1 changed files with 0 additions and 6 deletions

View File

@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from mock import Mock
import attr
from synapse.handlers.saml_handler import SamlHandler
@ -54,10 +52,6 @@ class TestMappingProvider:
class SamlHandlerTestCase(HomeserverTestCase):
def make_homeserver(self, reactor, clock):
self.http_client = Mock(spec=["get_json"])
self.http_client.user_agent = "Synapse Test"
config = self.default_config()
config["public_baseurl"] = BASE_URL
saml_config = {