1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

added SX and UM to partial list of countries test

This commit is contained in:
Sham
2021-06-27 01:24:13 -07:00
parent 9e085e9f4e
commit 832c22a513
2 changed files with 2 additions and 3 deletions

View File

@@ -363,8 +363,7 @@ class Ns1Provider(BaseProvider):
'NA': {'DO', 'DM', 'BB', 'BL', 'BM', 'HT', 'KN', 'JM', 'VC', 'HN',
'BS', 'BZ', 'PR', 'NI', 'LC', 'TT', 'VG', 'PA', 'TC', 'PM',
'GT', 'AG', 'GP', 'AI', 'VI', 'CA', 'GD', 'AW', 'CR', 'GL',
'CU', 'MF', 'SV', 'US', 'UM', 'MQ', 'MS', 'KY', 'MX', 'CW',
'BQ', 'SX'}
'CU', 'MF', 'SV', 'US', 'MQ', 'MS', 'KY', 'MX', 'CW', 'BQ'}
}
def __init__(self, id, api_key, retry_count=4, monitor_regions=None,

View File

@@ -1572,7 +1572,7 @@ class TestNs1ProviderDynamic(TestCase):
self.assertTrue('NA' in data5['dynamic']['rules'][0]['geos'])
# 2. Partial list of countries should return just those
partial_na_cntry_list = list(na_countries)[:5]
partial_na_cntry_list = list(na_countries)[:5] + ['SX', 'UM']
ns1_record['regions']['lhr__country']['meta']['country'] = \
partial_na_cntry_list
data6 = provider._data_for_A('A', ns1_record)