<commit_before># Test for one implementation of the interface
from lexicon.providers.dnsimple import Provider
from integration_tests import IntegrationTests
from unittest import TestCase

# Hook into testing framework by inheriting unittest.TestCase and reuse
# the tests which *each and every* implementation of the interface must
# pass, by inheritance from define_tests.TheTests
class DnsimpleProviderTests(TestCase, IntegrationTests):

    Provider = Provider
    provider_name = 'dnsimple'
    domain = 'wopr.tech'
    provider_opts = {'api_endpoint': 'https://api.sandbox.dnsimple.com/v2'}
    def _filter_headers(self):
        return ['Authorization','set-cookie']<commit_msg>Add OTP to test filters<commit_after># Test for one implementation of the interface
from lexicon.providers.dnsimple import Provider
from integration_tests import IntegrationTests
from unittest import TestCase

# Hook into testing framework by inheriting unittest.TestCase and reuse
# the tests which *each and every* implementation of the interface must
# pass, by inheritance from define_tests.TheTests
class DnsimpleProviderTests(TestCase, IntegrationTests):

    Provider = Provider
    provider_name = 'dnsimple'
    domain = 'wopr.tech'
    provider_opts = {'api_endpoint': 'https://api.sandbox.dnsimple.com/v2'}
    def _filter_headers(self):
        return ['Authorization','set-cookie','X-Dnsimple-OTP']
{'fraction_non_alphanumeric': 0.07813620071684588, 'fraction_numerical': 0.0014336917562724014, 'mean_word_length': 5.204444444444444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7638051', 'n_tokens_mistral': 396, 'n_tokens_neox': 368, 'n_words': 125}