Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft committed Aug 20, 2021
1 parent f4d0a1f commit 2552c19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def test_use_custom_json_encoder():
# since json can't serialize bytes by default but AzureJSONEncoder can,
# we pass in bytes and check that they are serialized
request = HttpRequest("GET", "/headers", json=bytearray("mybytes", "utf-8"))
assert request.content == "bXlieXRlcw=="
assert request.content == '"bXlieXRlcw=="'

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

0 comments on commit 2552c19

Please sign in to comment.