class documentation

class PyUnitTest(unittest.TestCase):

View In Hierarchy

Undocumented

Method test_error A test which raises an exception to cause an error.
Method test_fail A test which uses unittest.TestCase.fail to cause a failure.
Method test_pass A passing test.
Method test_skip A test which uses the unittest.skip decorator to cause a skip.
def test_error(self):

A test which raises an exception to cause an error.

def test_fail(self):

A test which uses unittest.TestCase.fail to cause a failure.

def test_pass(self):

A passing test.

@unittest.skip('pyunit skip')
def test_skip(self):

A test which uses the unittest.skip decorator to cause a skip.