def test_mg(self):
        """
        The repr of a L{dns.Record_MG} instance includes the name of the
        mail group member and the TTL of the record.
        """
        self.assertEqual(
            repr(dns.Record_MG(b'example.com', 4321)),
            "<MG name=example.com ttl=4321>")

        The repr of a L{dns.Record_MG} instance includes the name of the
        mail group member and the TTL of the record.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py