Skip to content

Commit 7971fa3

Browse files
add test case
1 parent f590e32 commit 7971fa3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/integrations/pydantic_ai/test_pydantic_ai.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2812,10 +2812,16 @@ async def test_set_usage_data_with_cache_tokens(sentry_init, capture_events):
28122812
),
28132813
pytest.param(
28142814
"https://example.com/api?data=iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs",
2815-
{"media_type": "image/png"},
2815+
{},
28162816
"https://example.com/api?data=iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs",
28172817
id="http_url_with_base64_query_param",
28182818
),
2819+
pytest.param(
2820+
"https://example.com/api?data=iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs",
2821+
{"media_type": "image/png"},
2822+
"https://example.com/api?data=iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs",
2823+
id="http_url_with_base64_query_param_and_media_type",
2824+
),
28192825
pytest.param(
28202826
"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciLz4=",
28212827
{},

0 commit comments

Comments
 (0)