mentat.services.test_dnsr module
Unit test module for testing the mentat.services.dnsr
module.
- class mentat.services.test_dnsr.TestMentatDns(methodName='runTest')[source]
Bases:
TestCase
Unit test class for testing the
mentat.services.dnsr
module.- distest_04_service_manager()[source]
Perform full lookup tests with service obtained by manually configured service manager.
- distest_05_module_service()[source]
Perform full lookup tests with service obtained by module interface.
- dns_test_list = [['ns.ces.net', [{'type': 'A', 'value': '195.113.144.233'}, {'type': 'AAAA', 'value': '2001:718:1:101::3'}]], ['www.cesnet.cz', [{'type': 'A', 'value': '195.113.144.230'}, {'type': 'AAAA', 'value': '2001:718:1:101::4'}]]]
- rdns_test_list = [['195.113.144.233', [{'type': 'PTR', 'value': 'ns.ces.net'}]], ['195.113.144.230', [{'type': 'PTR', 'value': 'www.cesnet.cz'}]]]
- verbose = True