def test_rp(self):
        """
        The repr of a L{dns.Record_RP} instance includes the mbox, txt, and TTL
        fields of the record.
        """
        self.assertEqual(
            repr(dns.Record_RP(b'alice.example.com', b'admin.example.com', 3)),
            "<RP mbox=alice.example.com txt=admin.example.com ttl=3>")

        The repr of a L{dns.Record_RP} instance includes the mbox, txt, and TTL
        fields of the record.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py