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

Commit

Permalink
Fix sorting of imports in tests. Remove an unnecessary mock
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Robinson <jasonr@matrix.org>
  • Loading branch information
jaywink committed Jan 22, 2019
1 parent 468e18e commit 882cf92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/app/test_openid_listener.py
Expand Up @@ -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
Expand All @@ -21,7 +22,6 @@
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(
Expand Down

0 comments on commit 882cf92

Please sign in to comment.