s.t.d.DNSTest(TestCase) : class documentation

Part of samba.tests.dns View In Hierarchy

No class docstring
Method assert_dns_rcode_equals Helper function to check return code
Method assert_dns_opcode_equals Helper function to check opcode
Method make_name_packet Helper creating a dns.name_packet
Method finish_name_packet Helper to finalize a dns.name_packet
Method make_name_question Helper creating a dns.name_question
Method get_dns_domain Helper to get dns domain
Method dns_transaction_udp send a DNS query and read the reply
Method test_one_a_query create a query packet containing one query record
Method test_two_queries create a query packet containing two query records
Method test_qtype_all_query create a QTYPE_ALL query
Method test_qclass_none_query create a QCLASS_NONE query
Method test_soa_domain_query create a SOA query for a domain

Inherited from TestCase:

Method setUp Undocumented
Method get_loadparm Undocumented
Method get_credentials Undocumented
def assert_dns_rcode_equals(self, packet, rcode):
Helper function to check return code
def assert_dns_opcode_equals(self, packet, opcode):
Helper function to check opcode
def make_name_packet(self, opcode, qid=None):
Helper creating a dns.name_packet
def finish_name_packet(self, packet, questions):
Helper to finalize a dns.name_packet
def make_name_question(self, name, qtype, qclass):
Helper creating a dns.name_question
def get_dns_domain(self):
Helper to get dns domain
def dns_transaction_udp(self, packet, host=os.getenv('DC_SERVER_IP')):
send a DNS query and read the reply
def test_one_a_query(self):
create a query packet containing one query record
def test_two_queries(self):
create a query packet containing two query records
def test_qtype_all_query(self):
create a QTYPE_ALL query
def test_qclass_none_query(self):
create a QCLASS_NONE query
def test_soa_domain_query(self):
create a SOA query for a domain
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.