RhetTbull / exif2findertags

Read EXIF metadata from image and video files and convert it to macOS Finder tags and/or Finder comments.
MIT License
21 stars 0 forks source link

Tests fail on Ventura #15

Open RhetTbull opened 1 year ago

RhetTbull commented 1 year ago

Some of the tests fail on Ventura though the script appears to be working in manual tests. I suspect this has to do with the isolated test environment.

FAILED tests/test_cli.py::test_fc - AssertionError: assert None == 'Make: Apple\nISO: 20'
FAILED tests/test_cli.py::test_fc_value - AssertionError: assert None == 'Apple\n20'
FAILED tests/test_cli.py::test_fc_format - AssertionError: assert None == 'Make=Apple\nISO=20'
FAILED tests/test_cli.py::test_fc_format_filter - AssertionError: assert None == 'make=APPLE\niso=20'
FAILED tests/test_cli.py::test_fc_no_overwrite - AssertionError: assert None == 'Make: Apple'
FAILED tests/test_cli.py::test_fc_overwrite - AssertionError: assert None == 'Make: Apple'
FAILED tests/test_cli.py::test_fc_template - AssertionError: assert None == 'Camera: Apple, iPhone SE (2nd generation)'
FAILED tests/test_cli.py::test_fc_template_2 - AssertionError: assert None == 'Camera: Apple, iPhone SE (2nd generation)\nISO=20'
FAILED tests/test_cli.py::test_xattr_template - AssertionError: assert None == 'Camera: Apple, iPhone SE (2nd generation)'
FAILED tests/test_cli.py::test_xattr_template_detected_text - TypeError: argument of type 'NoneType' is not iterable