Skip to content

Commit

Permalink
Added PH4H to allowed domains in TNG-UAT
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Aug 27, 2024
1 parent d6eb2ff commit ffc2c42
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','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}'
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','DICVP'), 'Invalid domain: ' + domain
assert domain.upper() in ('DCC','DDCC','DIVOC','ICAO','SHC','IPS-PILGRIMAGE','DICVP','PH4H'), 'Invalid domain: ' + domain

0 comments on commit ffc2c42

Please sign in to comment.