summary refs log tree commit diff
path: root/tests/rest/client
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-12-04 09:58:38 +0000
committerErik Johnston <erik@matrix.org>2023-12-04 09:58:38 +0000
commitafc82ecb44db1c7497defc9bb370a1b99f88fea6 (patch)
tree3bcfb88b3345febe49d8d3e6fc474d4cb76c32ae /tests/rest/client
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentModuleAPI SSO auth callbacks (#15207) (diff)
downloadsynapse-afc82ecb44db1c7497defc9bb370a1b99f88fea6.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'tests/rest/client')
-rw-r--r--tests/rest/client/test_keys.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/rest/client/test_keys.py b/tests/rest/client/test_keys.py

index 9f81a695fa..a6023dff7a 100644 --- a/tests/rest/client/test_keys.py +++ b/tests/rest/client/test_keys.py
@@ -30,13 +30,7 @@ from synapse.types import JsonDict, Requester, create_requester from tests import unittest from tests.http.server._base import make_request_with_cancellation_test from tests.unittest import override_config - -try: - import authlib # noqa: F401 - - HAS_AUTHLIB = True -except ImportError: - HAS_AUTHLIB = False +from tests.utils import HAS_AUTHLIB class KeyQueryTestCase(unittest.HomeserverTestCase):