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

More future proof index lookup

This commit is contained in:
Viranch Mehta
2021-04-30 20:38:08 -07:00
parent 15eb23eeb6
commit 3de5cd2740

View File

@@ -1348,7 +1348,7 @@ class TestNs1ProviderDynamic(TestCase):
# Check if the default value was correctly read and populated
# All other dynamic record test cases are covered by dynamic_A tests
self.assertEquals(ret['answers'][1]['answer'][0], 'value.unit.tests.')
self.assertEquals(ret['answers'][-1]['answer'][0], 'value.unit.tests.')
def test_data_for_dynamic_A(self):
provider = Ns1Provider('test', 'api-key')