Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
# mock out any red error message printing
flexmock(termcolor)
termcolor.should_receive('cprint').with_args(str, 'red')