def failIf(self, expr, msg = None): try: TestCase.failIf(self, expr, msg) except: self.kmod.stop() self.kmod.save_logs(self.destdir) raise
def failIf(self, *args, **kwargs): raise DeprecationWarning( 'The {0}() function is deprecated. Please start using {1}() ' 'instead.'.format('failIf', 'assertFalse')) return _TestCase.failIf(self, *args, **kwargs)
def failIf(self, *args, **kwargs): raise DeprecationWarning( 'The {0}() function is deprecated. Please start using {1}() ' 'instead.'.format('failIf', 'assertFalse') ) return _TestCase.failIf(self, *args, **kwargs)