Package yadis :: Package test :: Module test_discover :: Class _TestCase
[hide private]
[frames] | no frames]

Class _TestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   _TestCase

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  __init__(self, input_name, id_name, result_name, success)
Create an instance of the class that will use the named test method when executed.
  setUp(self)
Hook method for setting up the test fixture before exercising it.
  tearDown(self)
Hook method for deconstructing the test fixture after testing it.
  runCustomTest(self)
  shortDescription(self)
Returns a one-line description of the test, or None if no description has been provided.

Inherited from unittest.TestCase: __call__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Class Variables [hide private]
  base_url = 'http://invalid.unittest/'

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, input_name, id_name, result_name, success)
(Constructor)

source code 

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
Overrides: unittest.TestCase.__init__
(inherited documentation)

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.
Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.
Overrides: unittest.TestCase.tearDown
(inherited documentation)

runCustomTest(self)

source code 

shortDescription(self)

source code 

Returns a one-line description of the test, or None if no description has been provided.

The default implementation of this method returns the first line of the specified test method's docstring.
Overrides: unittest.TestCase.shortDescription
(inherited documentation)

Class Variable Details [hide private]

base_url

Value:
'http://invalid.unittest/'