Skip to content

Commit

Permalink
TST: Add unicode key to XmpInfo (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Apr 10, 2023
1 parent ca003bc commit dc25741
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sample-files
6 changes: 5 additions & 1 deletion tests/test_xmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ def test_read_xmp_metadata_samples(src):
assert xmp.dc_description == {"x-default": "This is a text"}
assert xmp.dc_date == [datetime(1990, 4, 28, 0, 0)]
assert xmp.dc_title == {"x-default": "Sample PDF with XMP Metadata"}
assert xmp.custom_properties == {"Style": "FooBarStyle", "other": "worlds"}
assert xmp.custom_properties == {
"Style": "FooBarStyle",
"other": "worlds",
"⏰": "time",
}


@pytest.mark.parametrize(
Expand Down

0 comments on commit dc25741

Please sign in to comment.