We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a31e52 commit c95eddbCopy full SHA for c95eddb
performance_test/conftest.py
performance_test/test_objects_list.py
@@ -1,13 +1,11 @@
1
-import pytest
2
import requests
3
from furl import furl
4
5
BASE_URL = furl("http://localhost:8000/api/v2/")
6
AUTH_HEADERS = {"Authorization": "Token secret"}
7
8
9
-@pytest.mark.benchmark(max_time=60, min_rounds=5)
10
-def test_objects_api_list(benchmark, benchmark_assertions):
+def test_objects_api_list(benchmark):
11
"""
12
Regression test for maykinmedia/objects-api#538
13
@@ -25,5 +23,3 @@ def make_request():
25
23
26
24
assert result.status_code == 200
27
assert result.json()["count"] == 5000
28
-
29
- benchmark_assertions(mean=1, max=1)
0 commit comments