'Tests for the assertRanChecks() method.'

def testAssertRanChecks(self):

    no_checks = {}
    some_checks = {'EXISTS': checks.CheckResult(check_id='EXISTS')}
    self.assertRanChecks(['EXISTS'], some_checks)
    self.assertRaises(AssertionError, self.assertRanChecks, ['EXISTS'], no_checks)
    self.assertRaises(AssertionError, self.assertRanChecks, ['FOOBAR'], some_checks)
