python/tests/dns*: make use of dns.DNS_RCODE/dns.DNS_OPCODE