def _GetTestURI(self, test): if sys.version_info[:2] <= (2, 4): return '%s.%s' % (unittest._strclass(test.__class__), test._TestCase__testMethodName) return '%s.%s.%s' % (test.__class__.__module__, test.__class__.__name__, test._testMethodName)
def __repr__(self): return "<%s run=%i errors=%i failures=%i skipped=%i>" % ( unittest._strclass(self.__class__), self.testsRun, len(self.errors), len(self.failures), len(self.skipped), )
def shortDescription(self): return "%s (%s) With seed %s" % ( self._testMethodName, _strclass(self.__class__), getattr(self, '__django_any_seed'), )
def __repr__(self): return "<%s tests=generator (%s)>" % ( unittest._strclass(self.__class__), id(self))
def __repr__(self): return "<%s context=%s>" % ( unittest._strclass(self.__class__), getattr(self.context, '__name__', self.context))
def TestResult__repr__(self): return "<%s run=%i errors=%i failures=%i skipped=%i>" % ( unittest._strclass(self.__class__), self.testsRun, len( self.errors), len(self.failures), len(self.skipped))
def shortDescription(self): return "%s (%s) With seed %s" % (self._testMethodName, _strclass(self.__class__), getattr(self, '__django_any_seed'))
def __str__(self): ''' Override this so that we know which instance it is ''' return "(%s): %s (%s)" % (self.url, self._testMethodName, unittest._strclass(self.__class__))
def _GetTestURI(self, test): if sys.version_info[:2] <= (2, 4): return '%s.%s' % (unittest._strclass( test.__class__), test._TestCase__testMethodName) return '%s.%s' % (unittest._strclass( test.__class__), test._testMethodName)
def shortDescription(self): return "%s (%s) under browser %s" % (self._testMethodName, _strclass(self.__class__), windmill.settings['active_browser'])
def __repr__(self): return "<%s testMethod=%s>" % \ (_strclass(self.__class__), self.__testMethodName)
def __str__(self): return "%s (%s)" % (self.__testMethodName, _strclass(self.__class__))
def shortDescription(self): return "%s (%s) under browser %s" % ( self._testMethodName, _strclass( self.__class__), windmill.settings['active_browser'])