From ffc2c42d3ded57111868a20a5ffe38e7cf228f52 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 27 Aug 2024 05:38:55 +0000 Subject: [PATCH] Added PH4H to allowed domains in TNG-UAT --- scripts/tests/folder_mandatory_files.py | 2 +- scripts/tests/groups_domains.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tests/folder_mandatory_files.py b/scripts/tests/folder_mandatory_files.py index 664d655..aede761 100644 --- a/scripts/tests/folder_mandatory_files.py +++ b/scripts/tests/folder_mandatory_files.py @@ -9,7 +9,7 @@ def test_folder_mandatory_files(country_folder): # Testing folder structure for domain in ofiles.keys(): - assert domain in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP'), 'Invalid domain: '+domain + assert domain in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP','PH4H'), 'Invalid domain: '+domain assert ('TLS', 'TLS.pem') in ofiles[domain], f'TLS cert is missing in domain {domain}' assert ('TLS', 'CA.pem') in ofiles[domain], f'TLS/CA cert is missing in domain {domain}' diff --git a/scripts/tests/groups_domains.py b/scripts/tests/groups_domains.py index 97b5217..cd02fe2 100644 --- a/scripts/tests/groups_domains.py +++ b/scripts/tests/groups_domains.py @@ -10,4 +10,4 @@ def test_valid_domain(cert): domain = cert.pathinfo.get('domain') assert domain, 'Certificate at incorrect location' - assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP'), 'Invalid domain: ' + domain + assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP','PH4H'), 'Invalid domain: ' + domain