diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-19 11:46:23 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-19 11:46:23 +0000 |
commit | adb043107fe00ab6439d120a0416efec613a8bd4 (patch) | |
tree | ac02207cb3c27ecbe3312b7a63e61daa01493b9a /tests/storage | |
parent | Remove the ability to query relations when the original event was redacted. (... (diff) | |
parent | Support Prometheus_client 0.4.0+ (#5636) (diff) | |
download | synapse-adb043107fe00ab6439d120a0416efec613a8bd4.tar.xz |
Support Prometheus_client 0.4.0+ (#5636)
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_event_metrics.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/storage/test_event_metrics.py b/tests/storage/test_event_metrics.py index d44359ff93..f26ff57a18 100644 --- a/tests/storage/test_event_metrics.py +++ b/tests/storage/test_event_metrics.py @@ -13,9 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from prometheus_client.exposition import generate_latest - -from synapse.metrics import REGISTRY +from synapse.metrics import REGISTRY, generate_latest from synapse.types import Requester, UserID from tests.unittest import HomeserverTestCase |