Skip to content

Commit

Permalink
rename prometheus test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed May 17, 2021
1 parent 1f21154 commit 7971465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/data/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_indexd_download_file(


@pytest.mark.parametrize("indexd_client", ["s3"], indirect=True)
def test_indexd_download_file(
def test_indexd_prometheus_presigned_url_counter(
app,
client,
oauth_client,
Expand All @@ -103,7 +103,7 @@ def test_indexd_download_file(
google_signed_url,
):
"""
Test ``GET /data/download/1``.
Test that when a user requests a presigned URL, the prometheus counter is increased.
"""
before = (
app.prometheus_registry.get_sample_value(
Expand Down

0 comments on commit 7971465

Please sign in to comment.