Skip to content

Commit

Permalink
Update tests for new /spans route method
Browse files Browse the repository at this point in the history
  • Loading branch information
anticorrelator committed Apr 12, 2024
1 parent 5d8bd30 commit cf01d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/session/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit cf01d3f

Please sign in to comment.