Browse Source

Appease the linter

pull/667/head
Robert Reichel 5 years ago
parent
commit
83cc7fbe1a
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      tests/test_octodns_provider_azuredns.py

+ 5
- 3
tests/test_octodns_provider_azuredns.py View File

@ -502,7 +502,7 @@ class TestAzureDnsProvider(TestCase):
zone_list.return_value = [zone]
exists = provider.populate(zone)
self.assertEquals(len(zone.records), 17)
self.assertTrue(exists)
@ -511,10 +511,12 @@ class TestAzureDnsProvider(TestCase):
zone_list = provider._dns_client.zones.list_by_resource_group
zone_1 = AzureZone(location='global')
# This is far from ideal but the zone constructor doesn't let me set it on creation
# This is far from ideal but the
# zone constructor doesn't let me set it on creation
zone_1.name = "zone-1"
zone_2 = AzureZone(location='global')
# This is far from ideal but the zone constructor doesn't let me set it on creation
# This is far from ideal but the
# zone constructor doesn't let me set it on creation
zone_2.name = "zone-2"
zone_list.return_value = [zone_1,
zone_2,


Loading…
Cancel
Save