aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_results.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-09-07 20:40:52 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-09-07 20:40:52 -0400
commit88f40b9b0dc47fa22a209e8246d97a43f4b60cb2 (patch)
tree5764999c5d1ce99ccebd92dddb7a3914b55e43c2 /test/test_results.py
parent7ac1b3bb04430b981f4f796fd765499cdc8b67ec (diff)
parent243b2597edb922fe7e0b0d887e80bb7ebbe72ab7 (diff)
Update upstream source from tag 'upstream/1.30.6'
Update to upstream version '1.30.6' with Debian dir 9f14996b07ee3246bdcde2ec12796c77da2a3060
Diffstat (limited to 'test/test_results.py')
-rw-r--r--test/test_results.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_results.py b/test/test_results.py
index 05b98bf..7e024b8 100644
--- a/test/test_results.py
+++ b/test/test_results.py
@@ -361,6 +361,12 @@ class TestExtractorResults(unittest.TestCase):
msg = f"{path} / ISO 639-1"
self.assertIsInstance(value, str, msg=msg)
self.assertRegex(value, r"^[a-z]{2}(-\w+)?$", msg=msg)
+ elif iso in ("uuid", "11578", "11578:1996", "4122"):
+ msg = f"{path} / ISO 11578:1996"
+ pat = (r"(?i)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-"
+ r"[0-9a-f]{4}-[0-9a-f]{12}")
+ self.assertIsInstance(value, str, msg=msg)
+ self.assertRegex(value, pat, msg=msg)
else:
self.fail(f"Unsupported ISO test '{test}'")
else: