Refactored exiftool.py

This commit is contained in:
Rhet Turnbull
2020-11-04 21:37:20 -08:00
parent a509ef18d3
commit 2202f1b1e9
4 changed files with 113 additions and 28 deletions

View File

@@ -744,7 +744,7 @@ def test_xmp_sidecar_is_valid(tmp_path):
xmp_file = tmp_path / XMP_FILENAME
assert xmp_file.is_file()
exiftool = ExifTool(str(xmp_file))
output = exiftool.run_commands("-validate", "-warning")
output, _ = exiftool.run_commands("-validate", "-warning")
assert output == b"[ExifTool] Validate : 0 0 0"