~ubuntu-branches/debian/sid/lexicon/sid

« back to all changes in this revision

Viewing changes to tests/providers/test_dnspark.py

  • Committer: Package Import Robot
  • Author(s): Ana Custura
  • Date: 2018-03-02 22:36:08 UTC
  • Revision ID: package-import@ubuntu.com-20180302223608-4e2sghral3uifgq7
Tags: upstream-2.1.21
ImportĀ upstreamĀ versionĀ 2.1.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test for one implementation of the interface
 
2
from lexicon.providers.dnspark import Provider
 
3
from integration_tests import IntegrationTests
 
4
from unittest import TestCase
 
5
import pytest
 
6
 
 
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 DnsParkProviderTests(TestCase, IntegrationTests):
 
11
 
 
12
    Provider = Provider
 
13
    provider_name = 'dnspark'
 
14
    domain = 'capsulecd.com'
 
15
    def _filter_headers(self):
 
16
        return ['Authorization']
 
17
 
 
18
    #TODO:
 
19
    @pytest.mark.skip(reason="domain no longer exists")
 
20
    def test_Provider_when_calling_list_records_after_setting_ttl(self):
 
21
        return
 
22
 
 
23
    # TODO: this should be enabled
 
24
    @pytest.mark.skip(reason="regenerating auth keys required")
 
25
    def test_Provider_when_calling_update_record_should_modify_record_name_specified(self):
 
26
        return
 
 
b'\\ No newline at end of file'