From a30cbbb616a286a3c4561a7a73c683c5f35963b2 Mon Sep 17 00:00:00 2001 From: Pacman Ghost Date: Mon, 9 Oct 2023 17:08:52 +0700 Subject: [PATCH] Applied errata from ASLJ 13 for when the KMC get black OBA numbers. --- .../data/default-template-pack/national-capabilities.json | 3 ++- vasl_templates/webapp/tests/test_national_capabilities.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vasl_templates/webapp/data/default-template-pack/national-capabilities.json b/vasl_templates/webapp/data/default-template-pack/national-capabilities.json index 6cd1042..3358830 100644 --- a/vasl_templates/webapp/data/default-template-pack/national-capabilities.json +++ b/vasl_templates/webapp/data/default-template-pack/national-capabilities.json @@ -306,7 +306,8 @@ }, "kfw-rok": { - "th_color": "{! -08/1950 = Red | 09/1950-04/1951 = Red (ROK) ; Black (KMC) | 05/1951- = Black | ??? !}", + "_comment_": "Errata (ASLJ 13 p48): KMC: '9/50+ black' s.b. '8/50+ black", + "th_color": "{! -07/1950 = Red | 08/1950-04/1951 = Red (ROK) ; Black (KMC) | 05/1951- = Black | ??? !}", "oba": [ "{! 06/1950- = 10B | ??? !}", "3R", "{? 09/1950- | Plentiful Ammo included | Plentiful Ammo included (KMC) | Plentiful Ammo included (ROK: 9/50+) ?}", "{! 06/1950-08/1950 = ROK: 6B/3R !}" diff --git a/vasl_templates/webapp/tests/test_national_capabilities.py b/vasl_templates/webapp/tests/test_national_capabilities.py index f043e69..432e059 100644 --- a/vasl_templates/webapp/tests/test_national_capabilities.py +++ b/vasl_templates/webapp/tests/test_national_capabilities.py @@ -328,8 +328,8 @@ def test_time_based_national_capabilities( webapp, webdriver ): comments = [ "Plentiful Ammo included (KMC)", "ROK: 6B/3R" ] ) check_oba( "kfw-rok", "Korea", 10, 1950, "10B", "3R", plentiful=True ) - check_th_color( "kfw-rok", "Korea", 8, 1950, "Red TH#" ) - check_th_color( "kfw-rok", "Korea", 9, 1950, "Red TH# (ROK) ; Black (KMC)" ) + check_th_color( "kfw-rok", "Korea", 7, 1950, "Red TH#" ) + check_th_color( "kfw-rok", "Korea", 8, 1950, "Red TH# (ROK) ; Black (KMC)" ) check_th_color( "kfw-rok", "Korea", 5, 1951, "Black TH#" ) # test the CPVA national Capabilities