Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_run(self):
code = core.find_infractions(self.args, self.logger, self.r)
self.assertEqual(code != 0, self.exit_code)