Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 0bf5ac8

Browse files
committed
fix imports
1 parent 3342bda commit 0bf5ac8

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

synapse/http/federation/matrix_federation_agent.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@
3939
from synapse.http.connectproxyclient import HTTPConnectProxyEndpoint
4040
from synapse.http.federation.srv_resolver import Server, SrvResolver
4141
from synapse.http.federation.well_known_resolver import WellKnownResolver
42-
from synapse.http.proxyagent import (
43-
ProxyAgent,
44-
ProxyCredentials,
45-
parse_username_password,
46-
)
42+
from synapse.http.proxyagent import ProxyAgent, parse_username_password
4743
from synapse.logging.context import make_deferred_yieldable, run_in_background
4844
from synapse.types import ISynapseReactor
4945
from synapse.util import Clock

tests/http/federation/test_matrix_federation_agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
import logging
1616
import os
1717
from typing import Iterable, Optional
18-
from unittest.mock import patch
18+
from unittest.mock import Mock, patch
1919

2020
import treq
21-
from mock import Mock
2221
from netaddr import IPSet
2322
from service_identity import VerificationError
2423
from zope.interface import implementer

0 commit comments

Comments
 (0)