mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	1.0 RC: Remove deprecated provider, source, and processor shims
This commit is contained in:
		@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestAwsAcmMangingProcessor(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.processor.awsacm import AwsAcmMangingProcessor
 | 
			
		||||
 | 
			
		||||
            AwsAcmMangingProcessor
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestAzureShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.azuredns import AzureProvider
 | 
			
		||||
 | 
			
		||||
            AzureProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestCloudflareShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.cloudflare import CloudflareProvider
 | 
			
		||||
 | 
			
		||||
            CloudflareProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestConstellixShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.constellix import ConstellixProvider
 | 
			
		||||
 | 
			
		||||
            ConstellixProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestDigitalOceanShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.digitalocean import DigitalOceanProvider
 | 
			
		||||
 | 
			
		||||
            DigitalOceanProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestDnsimpleShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.dnsimple import DnsimpleProvider
 | 
			
		||||
 | 
			
		||||
            DnsimpleProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestDnsMadeEasyShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.dnsmadeeasy import DnsMadeEasyProvider
 | 
			
		||||
 | 
			
		||||
            DnsMadeEasyProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestDynShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.dyn import DynProvider
 | 
			
		||||
 | 
			
		||||
            DynProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestEasyDnsShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.easydns import EasyDnsProvider
 | 
			
		||||
 | 
			
		||||
            EasyDnsProvider
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
# Just for coverage
 | 
			
		||||
import octodns.provider.fastdns
 | 
			
		||||
 | 
			
		||||
# Quell warnings
 | 
			
		||||
octodns.provider.fastdns
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestAkamaiShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.edgedns import AkamaiProvider
 | 
			
		||||
 | 
			
		||||
            AkamaiProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestEtcHostsShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.etc_hosts import EtcHostsProvider
 | 
			
		||||
 | 
			
		||||
            EtcHostsProvider
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
# Just for coverage
 | 
			
		||||
import octodns.provider.fastdns
 | 
			
		||||
 | 
			
		||||
# Quell warnings
 | 
			
		||||
octodns.provider.fastdns
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestGandiShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.gandi import GandiProvider
 | 
			
		||||
 | 
			
		||||
            GandiProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestGCoreShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.gcore import GCoreProvider
 | 
			
		||||
 | 
			
		||||
            GCoreProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestGoogleCloudShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.googlecloud import GoogleCloudProvider
 | 
			
		||||
 | 
			
		||||
            GoogleCloudProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestHetznerShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.hetzner import HetznerProvider
 | 
			
		||||
 | 
			
		||||
            HetznerProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestMythicBeastsShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.mythicbeasts import MythicBeastsProvider
 | 
			
		||||
 | 
			
		||||
            MythicBeastsProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestNs1Provider(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.ns1 import Ns1Provider
 | 
			
		||||
 | 
			
		||||
            Ns1Provider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestOvhShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.ovh import OvhProvider
 | 
			
		||||
 | 
			
		||||
            OvhProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestPowerDnsShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.powerdns import PowerDnsProvider
 | 
			
		||||
 | 
			
		||||
            PowerDnsProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestRackspaceShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.rackspace import RackspaceProvider
 | 
			
		||||
 | 
			
		||||
            RackspaceProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestRoute53Provider(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.route53 import Route53Provider
 | 
			
		||||
 | 
			
		||||
            Route53Provider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestSelectelShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.selectel import SelectelProvider
 | 
			
		||||
 | 
			
		||||
            SelectelProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestTransipShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.transip import TransipProvider
 | 
			
		||||
 | 
			
		||||
            TransipProvider
 | 
			
		||||
@@ -1,13 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestUltraShim(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.provider.ultra import UltraProvider
 | 
			
		||||
 | 
			
		||||
            UltraProvider
 | 
			
		||||
@@ -1,18 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class TestAxfrSource(TestCase):
 | 
			
		||||
    def test_missing(self):
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.source.axfr import AxfrSource
 | 
			
		||||
 | 
			
		||||
            AxfrSource
 | 
			
		||||
 | 
			
		||||
        with self.assertRaises(ModuleNotFoundError):
 | 
			
		||||
            from octodns.source.axfr import ZoneFileSource
 | 
			
		||||
 | 
			
		||||
            ZoneFileSource
 | 
			
		||||
		Reference in New Issue
	
	Block a user