'The repr of a L{dns.Record_NAPTR} instance includes the order,
preference, flags, service, regular expression, replacement, and TTL of
the record.'

def test_naptr(self):

    record = dns.Record_NAPTR(5, 9, 'S', 'http', '/foo/bar/i', 'baz', 3)
    self.assertEqual(repr(record), '<NAPTR    order=5    preference=9    flags=S    service=http    regexp=/foo/bar/i    replacement=baz    ttl=3>')
