From cf01d3f06115d0daf734df4972efb8c297601a61 Mon Sep 17 00:00:00 2001 From: Dustin Ngo Date: Fri, 12 Apr 2024 11:23:44 -0400 Subject: [PATCH] Update tests for new `/spans` route method --- tests/session/test_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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