1
# Test for one implementation of the interface
2
from lexicon.providers.easydns import Provider
3
from integration_tests import IntegrationTests
4
from unittest import TestCase
7
# Hook into testing framework by inheriting unittest.TestCase and reuse
8
# the tests which *each and every* implementation of the interface must
9
# pass, by inheritance from define_tests.TheTests
10
class EasyDnsProviderTests(TestCase, IntegrationTests):
13
provider_name = 'easydns'
14
domain = 'easydnstemp.com'
17
def _test_engine_overrides(self):
18
overrides = super(EasyDnsProviderTests, self)._test_engine_overrides()
19
overrides.update({'api_endpoint': 'http://sandbox.rest.easydns.net'})
22
def _filter_headers(self):
23
return ['Authorization']
24
def _filter_query_parameters(self):
25
return ['_key', '_user']
27
# TODO: this should be enabled
28
@pytest.mark.skip(reason="regenerating auth keys required")
29
def test_Provider_when_calling_update_record_should_modify_record_name_specified(self):
b'\\ No newline at end of file'