@@ -46,7 +46,6 @@ async def prod_data(db_session):
4646 await db_session .commit ()
4747
4848
49- @pytest .mark .asyncio
5049async def test_diff_detects_regression (client , prod_data ):
5150 """The diff endpoint should show the deltablue_base regression."""
5251 response = await client .get (
@@ -74,7 +73,6 @@ async def test_diff_detects_regression(client, prod_data):
7473 assert nbody ["metric_delta_percent" ] == pytest .approx (0.0 )
7574
7675
77- @pytest .mark .asyncio
7876async def test_diff_previous_commit_details (client , prod_data ):
7977 """The diff should include correct previous commit metadata."""
8078 response = await client .get (
@@ -99,7 +97,6 @@ async def test_diff_previous_commit_details(client, prod_data):
9997 assert curr ["author" ] == "alm"
10098
10199
102- @pytest .mark .asyncio
103100async def test_diff_first_commit_has_no_previous (client , prod_data ):
104101 """Diffing the earlier commit should show no previous data."""
105102 response = await client .get (
@@ -118,7 +115,6 @@ async def test_diff_first_commit_has_no_previous(client, prod_data):
118115 assert row ["prev_commit_details" ] is None
119116
120117
121- @pytest .mark .asyncio
122118async def test_diff_with_total_allocated_metric (client , prod_data ):
123119 """Diff should work with total_allocated_bytes metric too."""
124120 response = await client .get (
@@ -138,9 +134,8 @@ async def test_diff_with_total_allocated_metric(client, prod_data):
138134 assert deltablue ["prev_metric_value" ] == BENCH_DELTABLUE_PREV ["total_allocated_bytes" ]
139135
140136
141- @pytest .mark .asyncio
142137async def test_trends_returns_chronological_data (client , prod_data ):
143- """Trends should return data points in chronological order."""
138+ """Trends should return data points in reverse chronological order (newest first) ."""
144139 response = await client .get (
145140 "/api/trends" ,
146141 params = {
@@ -162,7 +157,6 @@ async def test_trends_returns_chronological_data(client, prod_data):
162157 assert data [1 ]["high_watermark_bytes" ] == 1_557_777
163158
164159
165- @pytest .mark .asyncio
166160async def test_batch_trends_multiple_benchmarks (client , prod_data ):
167161 """Batch trends should return data for multiple benchmarks at once."""
168162 response = await client .post (
@@ -200,7 +194,6 @@ async def test_batch_trends_multiple_benchmarks(client, prod_data):
200194 assert len (results [json_key ]) == 2
201195
202196
203- @pytest .mark .asyncio
204197async def test_benchmark_names_filtered_by_version (client , prod_data ):
205198 """Benchmark names should filter correctly by Python version."""
206199 response = await client .get (
@@ -229,7 +222,6 @@ async def test_benchmark_names_filtered_by_version(client, prod_data):
229222 assert response .json () == []
230223
231224
232- @pytest .mark .asyncio
233225async def test_python_versions_from_production_data (client , prod_data ):
234226 response = await client .get ("/api/python-versions" )
235227 assert response .status_code == 200
@@ -239,7 +231,6 @@ async def test_python_versions_from_production_data(client, prod_data):
239231 assert versions [0 ]["minor" ] == 15
240232
241233
242- @pytest .mark .asyncio
243234async def test_environments_for_binary (client , prod_data ):
244235 response = await client .get ("/api/binaries/nogil/environments" )
245236 assert response .status_code == 200
@@ -250,7 +241,6 @@ async def test_environments_for_binary(client, prod_data):
250241 assert envs [0 ]["commit_count" ] == 2
251242
252243
253- @pytest .mark .asyncio
254244async def test_commits_for_binary_and_environment (client , prod_data ):
255245 response = await client .get (
256246 "/api/binaries/nogil/environments/gh_actions/commits"
0 commit comments