mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 14:39:46 -05: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.
|
# 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 New Issue
Block a user