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

Fixed typed in _data_for_PTR and amended test case to check for it

This commit is contained in:
Heesu Hwang
2017-06-30 17:29:16 -07:00
parent 824cf4e98c
commit ec4261e7da
2 changed files with 3 additions and 4 deletions

View File

@@ -263,8 +263,7 @@ class TestAzureDnsProvider(TestCase):
rs.append(RecordSet(name='ptr1', ttl=10, type='PTR',
ptr_records=[PtrRecord('ptr1.unit.test.')]))
rs.append(RecordSet(name='ptr2', ttl=11, type='PTR',
ptr_records=[PtrRecord('ptr1.unit.test.'),
PtrRecord('ptr2.unit.test.')]))
ptr_records=[PtrRecord(None)]))
rs.append(RecordSet(name='_srv1._tcp', ttl=12, type='SRV',
srv_records=[SrvRecord(1, 2, 3, '1unit.tests.')]))
rs.append(RecordSet(name='_srv2._tcp', ttl=13, type='SRV',