From 90a8cf99f96d9174b5bbfaa3a881b4792ecb3453 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 6 Feb 2024 15:56:24 +0100 Subject: Add tests fot IT and SG canonicalization. --- tests/cc/test_cc_misc.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/cc/test_cc_misc.py b/tests/cc/test_cc_misc.py index 5de22216..c06b26ed 100644 --- a/tests/cc/test_cc_misc.py +++ b/tests/cc/test_cc_misc.py @@ -36,10 +36,18 @@ def test_canonicalize_es(): assert canonicalize("2011-14-INF-1095-v1", "ES") == "2011-14-INF-1095" +def test_canonicalize_sg(): + assert canonicalize("CSA_CC_21005", "SG") == "CSA_CC_21005" + + def test_canonicalize_in(): assert canonicalize("IC3S/KOL01/ADVA/EAL2/0520/0021 /CR", "IN") == "IC3S/KOL01/ADVA/EAL2/0520/0021" +def test_canonicalize_it(): + assert canonicalize("OCSI/CERT/TEC/02/2009/RC", "IT") == "OCSI/CERT/TEC/02/2009/RC" + + def test_canonicalize_se(): assert canonicalize("CSEC2017020", "SE") == "CSEC2017020" assert canonicalize("CSEC 2017020", "SE") == "CSEC2017020" -- cgit v1.3.1