aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJ08nY2022-09-23 15:58:32 +0200
committerJ08nY2022-09-23 15:58:32 +0200
commit8bd0f8fa6f87904fa67f4673ea9e752bc0a7bdde (patch)
treec5ac4b359096de52cbf794dc58198228e9b5d1b3 /tests
parentffb1dc8d4f2efcd3bc18c80cf50866715c88414c (diff)
downloadsec-certs-8bd0f8fa6f87904fa67f4673ea9e752bc0a7bdde.tar.gz
sec-certs-8bd0f8fa6f87904fa67f4673ea9e752bc0a7bdde.tar.zst
sec-certs-8bd0f8fa6f87904fa67f4673ea9e752bc0a7bdde.zip
Fix Japan canonicalízation.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cc_heuristics.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_cc_heuristics.py b/tests/test_cc_heuristics.py
index e5352552..fcaf4642 100644
--- a/tests/test_cc_heuristics.py
+++ b/tests/test_cc_heuristics.py
@@ -368,6 +368,7 @@ class TestCommonCriteriaID(TestCase):
def test_canonicalize_jp(self):
self.assertEqual(canonicalize("Certification No. C01234", "JP"), "C01234")
self.assertEqual(canonicalize("CRP-C01234-01", "JP"), "C01234")
+ self.assertEqual(canonicalize("JISEC-CC-CRP-C0689-01-2020", "JP"), "C0689")
def test_canonicalize_no(self):
self.assertEqual(canonicalize("SERTIT-12", "NO"), "SERTIT-012")