diff --git a/tests/session/test_client.py b/tests/session/test_client.py index 65bf56294e0..e2b0644a403 100644 --- a/tests/session/test_client.py +++ b/tests/session/test_client.py @@ -15,11 +15,11 @@ def test_get_spans_dataframe(client: Client, endpoint: str, dataframe: pd.DataFrame): url = urljoin(endpoint, "v1/spans") - responses.get(url, body=_df_to_bytes(dataframe)) + responses.post(url, body=_df_to_bytes(dataframe)) df = client.get_spans_dataframe() assert_frame_equal(df, dataframe) - responses.get(url, status=404) + responses.post(url, status=404) assert client.get_spans_dataframe() is None