Skip to content

Commit cd1c994

Browse files
committed
update tests
1 parent b9c3221 commit cd1c994

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/integrations/fastapi/test_fastapi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ async def _read_body(request):
339339
attr = segments[0]["attributes"]["http.request.body.data"]
340340

341341
assert isinstance(attr, str)
342-
assert "!raw" in attr
342+
assert attr == '""'
343343

344344

345345
@pytest.mark.parametrize("middleware_spans", [False, True])
@@ -380,7 +380,6 @@ async def _read_form(request):
380380
assert isinstance(attr, str)
381381
parsed = json.loads(attr)
382382
assert parsed["name"] == "erica"
383-
assert parsed["avatar"]["metadata"]["rem"] == [["!raw", "x"]]
384383
assert "fake-bytes" not in attr
385384

386385

0 commit comments

Comments
 (0)