Skip to content

Commit 2552c19

Browse files
committed
fix test
1 parent f4d0a1f commit 2552c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/core/azure-core/tests/testserver_tests/test_rest_http_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def test_use_custom_json_encoder():
283283
# since json can't serialize bytes by default but AzureJSONEncoder can,
284284
# we pass in bytes and check that they are serialized
285285
request = HttpRequest("GET", "/headers", json=bytearray("mybytes", "utf-8"))
286-
assert request.content == "bXlieXRlcw=="
286+
assert request.content == '"bXlieXRlcw=="'
287287

288288
# NOTE: For files, we don't allow list of tuples yet, just dict. Will uncomment when we add this capability
289289
# def test_multipart_multiple_files_single_input_content():

0 commit comments

Comments
 (0)