def test_queriesOverride(self):
        """
        L{dns._EDNSMessage.queries} can be overridden in the constructor.
        """
        msg = self.messageFactory(queries=[dns.Query(b'example.com')])

        self.assertEqual(
            msg.queries,
            [dns.Query(b'example.com')])

        L{dns._EDNSMessage.queries} can be overridden in the constructor.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/test/test_dns.py