Bug fix for --description-template, issue #304

This commit is contained in:
Rhet Turnbull
2020-12-27 09:26:54 -08:00
parent 1ccf03e158
commit 4cc40d24cf
3 changed files with 8 additions and 6 deletions

View File

@@ -2036,11 +2036,11 @@ def test_export_sidecar_templates():
with open(CLI_TEMPLATE_SIDECAR_FILENAME, "r") as jsonfile:
exifdata = json.load(jsonfile)
assert (
exifdata[0]["XMP:Description"][0]
exifdata[0]["XMP:Description"]
== "Girls with pumpkins Katie, Suzy Kids Pumpkin Farm, Test Album"
)
assert (
exifdata[0]["EXIF:ImageDescription"][0]
exifdata[0]["EXIF:ImageDescription"]
== "Girls with pumpkins Katie, Suzy Kids Pumpkin Farm, Test Album"
)