'Tests for the assertChecksNotRun() method.'

def testAssertChecksNotRun(self):

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