mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	Fix Typos
This commit is contained in:
		@@ -41,7 +41,7 @@ with open('./tests/fixtures/powerdns-full-data.json') as fh:
 | 
			
		||||
class TestPowerDnsProvider(TestCase):
 | 
			
		||||
 | 
			
		||||
    def test_provider(self):
 | 
			
		||||
        provider = PowerDnsProvider('test', 'non.existant', 'api-key',
 | 
			
		||||
        provider = PowerDnsProvider('test', 'non.existent', 'api-key',
 | 
			
		||||
                                    nameserver_values=['8.8.8.8.',
 | 
			
		||||
                                                       '9.9.9.9.'])
 | 
			
		||||
 | 
			
		||||
@@ -63,7 +63,7 @@ class TestPowerDnsProvider(TestCase):
 | 
			
		||||
                provider.populate(zone)
 | 
			
		||||
            self.assertEquals(502, ctx.exception.response.status_code)
 | 
			
		||||
 | 
			
		||||
        # Non-existant zone doesn't populate anything
 | 
			
		||||
        # Non-existent zone doesn't populate anything
 | 
			
		||||
        with requests_mock() as mock:
 | 
			
		||||
            mock.get(ANY, status_code=422,
 | 
			
		||||
                     json={'error': "Could not find domain 'unit.tests.'"})
 | 
			
		||||
@@ -163,7 +163,7 @@ class TestPowerDnsProvider(TestCase):
 | 
			
		||||
                provider.apply(plan)
 | 
			
		||||
 | 
			
		||||
    def test_small_change(self):
 | 
			
		||||
        provider = PowerDnsProvider('test', 'non.existant', 'api-key')
 | 
			
		||||
        provider = PowerDnsProvider('test', 'non.existent', 'api-key')
 | 
			
		||||
 | 
			
		||||
        expected = Zone('unit.tests.', [])
 | 
			
		||||
        source = YamlProvider('test', join(dirname(__file__), 'config'))
 | 
			
		||||
@@ -203,7 +203,7 @@ class TestPowerDnsProvider(TestCase):
 | 
			
		||||
 | 
			
		||||
    def test_existing_nameservers(self):
 | 
			
		||||
        ns_values = ['8.8.8.8.', '9.9.9.9.']
 | 
			
		||||
        provider = PowerDnsProvider('test', 'non.existant', 'api-key',
 | 
			
		||||
        provider = PowerDnsProvider('test', 'non.existent', 'api-key',
 | 
			
		||||
                                    nameserver_values=ns_values)
 | 
			
		||||
 | 
			
		||||
        expected = Zone('unit.tests.', [])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user