Browse Source

Allow DnsimpleProvider mocked calls in any order

pull/288/head
Ross McFarland 9 years ago
parent
commit
7d5cc848f5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/test_octodns_provider_dnsimple.py

+ 2
- 2
tests/test_octodns_provider_dnsimple.py View File

@ -191,13 +191,13 @@ class TestDnsimpleProvider(TestCase):
self.assertEquals(2, provider.apply(plan))
# recreate for update, and deletes for the 2 parts of the other
provider._client._request.assert_has_calls([
call('DELETE', '/zones/unit.tests/records/11189899'),
call('POST', '/zones/unit.tests/records', data={
'content': '3.2.3.4',
'type': 'A',
'name': 'ttl',
'ttl': 300
}),
call('DELETE', '/zones/unit.tests/records/11189899'),
call('DELETE', '/zones/unit.tests/records/11189897'),
call('DELETE', '/zones/unit.tests/records/11189898')
])
], any_order=True)

Loading…
Cancel
Save