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:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user