Skip to content

Commit c95eddb

Browse files
committed
✅ Modify performance tests for codspeed
1 parent 3a31e52 commit c95eddb

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

performance_test/conftest.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

performance_test/test_objects_list.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
import pytest
21
import requests
32
from furl import furl
43

54
BASE_URL = furl("http://localhost:8000/api/v2/")
65
AUTH_HEADERS = {"Authorization": "Token secret"}
76

87

9-
@pytest.mark.benchmark(max_time=60, min_rounds=5)
10-
def test_objects_api_list(benchmark, benchmark_assertions):
8+
def test_objects_api_list(benchmark):
119
"""
1210
Regression test for maykinmedia/objects-api#538
1311
"""
@@ -25,5 +23,3 @@ def make_request():
2523

2624
assert result.status_code == 200
2725
assert result.json()["count"] == 5000
28-
29-
benchmark_assertions(mean=1, max=1)

0 commit comments

Comments
 (0)