Skip to content

Commit

Permalink
refactor(test_transform): fix base64 encoding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Jul 7, 2024
1 parent b51acbe commit 9f35949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ async def test_base64_file_input(use_async: bool) -> None:

# pathlib.Path is automatically converted to base64
assert await transform({"foo": SAMPLE_FILE_PATH}, TypedDictBase64Input, use_async) == {
"foo": "SGVsbG8sIHdvcmxkIQ0K"
"foo": "SGVsbG8sIHdvcmxkIQo"
} # type: ignore[comparison-overlap]

# io instances are automatically converted to base64
Expand Down

0 comments on commit 9f35949

Please sign in to comment.