'Verify that the result is the same query type as what is expected.'

def checkResult(self, results, qtype):

    (answers, authority, additional) = results
    result = answers[0]
    self.assertEqual(result.name.name, self.hostname)
    self.assertEqual(result.type, qtype)
