Skip to content

Commit 6a4ee5a

Browse files
committed
updated the system test request to force JSON response
1 parent afa5f04 commit 6a4ee5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/system/test_seed_random.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ def test_command_seeds_metrics_dataset_and_data_is_queryable_via_api(self):
5757
f"geographies/{quote(sample_row.geography, safe='')}/"
5858
"metrics/"
5959
)
60-
response = api_client.get(path=path, format="json")
60+
response = api_client.get(
61+
path=path,
62+
format="json",
63+
HTTP_ACCEPT="application/json",
64+
)
6165

6266
assert response.status_code == HTTP_OK
6367
assert "metrics" in response.data

0 commit comments

Comments
 (0)