'Test that bytes representing an empty query message can be decoded
as such.'

def test_emptyQuery(self):

    msg = dns.Message()
    msg.fromStr('\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
    self.assertEqual(msg.id, 256)
    self.assertFalse(msg.answer, 'Message    was    not    supposed    to    be    an    answer.')
    self.assertEqual(msg.opCode, dns.OP_QUERY)
    self.assertFalse(msg.auth, 'Message    was    not    supposed    to    be    authoritative.')
    self.assertFalse(msg.trunc, 'Message    was    not    supposed    to    be    truncated.')
    self.assertEqual(msg.queries, [])
    self.assertEqual(msg.answers, [])
    self.assertEqual(msg.authority, [])
    self.assertEqual(msg.additional, [])
