mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-06 20:31:55 +00:00
Fix sorting of imports in tests. Remove an unnecessary mock
Signed-off-by: Jason Robinson <jasonr@matrix.org>
This commit is contained in:
parent
db33634b1d
commit
a47fac9af6
@ -12,7 +12,8 @@
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
from mock import patch, Mock
|
||||
from mock import Mock, patch
|
||||
|
||||
from parameterized import parameterized
|
||||
|
||||
from synapse.app.federation_reader import FederationReaderServer
|
||||
@ -21,7 +22,6 @@ from synapse.app.homeserver import SynapseHomeServer
|
||||
from tests.unittest import HomeserverTestCase
|
||||
|
||||
|
||||
@patch("synapse.app.homeserver.KeyApiV2Resource", new=Mock())
|
||||
class FederationReaderOpenIDListenerTests(HomeserverTestCase):
|
||||
def make_homeserver(self, reactor, clock):
|
||||
hs = self.setup_test_homeserver(
|
||||
|
Loading…
Reference in New Issue
Block a user