mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Fixed broken test on redis
This commit is contained in:
@@ -135,7 +135,6 @@ def test_metrics_view(monkeypatch, client):
|
||||
metricsview.metrics.http_requests_total.inc(counter_value, code="200", handler="/foo", method="GET")
|
||||
|
||||
# test unauthorized-page
|
||||
assert "You are not authorized" in metricsview.serve_metrics(None).content.decode('utf-8')
|
||||
assert "You are not authorized" in client.get('/metrics').content.decode('utf-8')
|
||||
assert "{} {}".format(fullname, counter_value) not in client.get('/metrics')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user