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

Part of samba.tests.dns View In Hierarchy

No class docstring
Method errstr Return a readable error code
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
Method test_two_updates create two update requests
Method test_update_wrong_qclass create update with DNS_QCLASS_NONE
Method test_update_prereq_with_non_null_ttl test update with a non-null TTL
Method test_update_prereq_nonexisting_name test update with a non-null TTL

Inherited from TestCase:

Method setUp Undocumented
Method get_loadparm Undocumented
Method get_credentials Undocumented
def errstr(self, errcode):
Return a readable error code
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
def test_two_updates(self):
create two update requests
def test_update_wrong_qclass(self):
create update with DNS_QCLASS_NONE
def test_update_prereq_with_non_null_ttl(self):
test update with a non-null TTL
def test_update_prereq_nonexisting_name(self):
test update with a non-null TTL
API Documentation for Samba, generated by pydoctor at 2012-03-06 23:17:58.