summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorJason Robinson <jasonr@matrix.org>2019-01-22 11:07:28 +0200
committerJason Robinson <jasonr@matrix.org>2019-01-23 10:32:41 +0200
commita47fac9af6b17ae60c381675caece6e846faefff (patch)
treecb43bf5526238f9846eb3845b8bb6367182a44b7 /tests
parentCollapse changelog to one line (diff)
downloadsynapse-a47fac9af6b17ae60c381675caece6e846faefff.tar.xz
Fix sorting of imports in tests. Remove an unnecessary mock
Signed-off-by: Jason Robinson <jasonr@matrix.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/app/test_openid_listener.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/test_openid_listener.py b/tests/app/test_openid_listener.py
index 329aadc3d3..c1ebc93f52 100644
--- a/tests/app/test_openid_listener.py
+++ b/tests/app/test_openid_listener.py
@@ -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(