forked from MirrorHub/synapse
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
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,8 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
from mock import patch, Mock
|
from mock import Mock, patch
|
||||||
|
|
||||||
from parameterized import parameterized
|
from parameterized import parameterized
|
||||||
|
|
||||||
from synapse.app.federation_reader import FederationReaderServer
|
from synapse.app.federation_reader import FederationReaderServer
|
||||||
|
@ -21,7 +22,6 @@ from synapse.app.homeserver import SynapseHomeServer
|
||||||
from tests.unittest import HomeserverTestCase
|
from tests.unittest import HomeserverTestCase
|
||||||
|
|
||||||
|
|
||||||
@patch("synapse.app.homeserver.KeyApiV2Resource", new=Mock())
|
|
||||||
class FederationReaderOpenIDListenerTests(HomeserverTestCase):
|
class FederationReaderOpenIDListenerTests(HomeserverTestCase):
|
||||||
def make_homeserver(self, reactor, clock):
|
def make_homeserver(self, reactor, clock):
|
||||||
hs = self.setup_test_homeserver(
|
hs = self.setup_test_homeserver(
|
||||||
|
|
Loading…
Reference in a new issue