Skip to content

Commit

Permalink
Merge pull request #133 from WorldHealthOrganization/feature-domain-d…
Browse files Browse the repository at this point in the history
…ICVP-663-UAT

Add "dICVP" as new supported domain
  • Loading branch information
roopesh-palankar authored Aug 5, 2024
2 parents 669c1f7 + 853e3f0 commit d6eb2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/tests/folder_mandatory_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'), 'Invalid domain: '+domain
assert domain in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP'), '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}'
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/groups_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'), 'Invalid domain: ' + domain
assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP'), 'Invalid domain: ' + domain

0 comments on commit d6eb2ff

Please sign in to comment.