Skip to content

Commit

Permalink
add basic XMP backend versions check
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel committed Apr 13, 2024
1 parent 5069b7e commit 78323d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_xmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,3 +480,11 @@ def test_io_error(self):
for backend in XMP_BACKENDS:
with self.subTest(backend=backend):
self._test_io_error(backend)

def test_versions(self):
for backend in XMP_BACKENDS:
with self.subTest(backend=backend):
_ = backend.MetadataBase() # Skip if dummy.
versions = backend.versions
self.assertTrue(versions)
self.assertIsInstance(versions, list)

0 comments on commit 78323d6

Please sign in to comment.