Package test_suite :: Package unit_tests :: Package _generic_fns :: Module test_pipes :: Class Test_pipes
[hide private]
[frames] | no frames]

Class Test_pipes

source code


Unit tests for the functions of the 'generic_fns.pipes' module.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Set up for all the data pipe unit tests.
source code
 
test_copy(self)
Test the copying of a data pipe.
source code
 
test_copy_current(self)
Test the copying of current data pipe.
source code
 
test_copy_fail(self)
Test the failure of the copying of data pipes when the data pipe to copy to already exists.
source code
 
test_creation(self)
Test the creation of a data pipe.
source code
 
test_creation_fail(self)
Test the failure of the creation of a data pipe (by supplying an incorrect pipe type).
source code
 
test_current(self)
Get the current data pipe.
source code
 
test_deletion(self)
Test the deletion of a data pipe.
source code
 
test_deletion_fail(self)
Test the failure of the deletion of a data pipe (by suppling a non-existant data pipe).
source code
 
test_switch(self)
Test the switching of the current data pipe.
source code
 
test_switch_fail(self)
Test the failure of switching to a non-existant data pipe.
source code
 
test_test(self)
The throwing of RelaxNoPipeError when the pipe does not exist.
source code

Inherited from base_classes.UnitTestCase: tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Set up for all the data pipe unit tests.

Overrides: unittest.case.TestCase.setUp

test_copy(self)

source code 

Test the copying of a data pipe.

The function tested is generic_fns.pipes.copy().

test_copy_current(self)

source code 

Test the copying of current data pipe.

The function tested is generic_fns.pipes.copy().

test_copy_fail(self)

source code 

Test the failure of the copying of data pipes when the data pipe to copy to already exists.

The function tested is generic_fns.pipes.copy()

test_creation(self)

source code 

Test the creation of a data pipe.

The function used is generic_fns.pipes.create().

test_creation_fail(self)

source code 

Test the failure of the creation of a data pipe (by supplying an incorrect pipe type).

The function used is generic_fns.pipes.create().

test_current(self)

source code 

Get the current data pipe.

The function used is generic_fns.pipes.cdp_name().

test_deletion(self)

source code 

Test the deletion of a data pipe.

The function tested is generic_fns.pipes.delete()

test_deletion_fail(self)

source code 

Test the failure of the deletion of a data pipe (by suppling a non-existant data pipe).

The function tested is generic_fns.pipes.delete()

test_switch(self)

source code 

Test the switching of the current data pipe.

The function tested is generic_fns.pipes.switch().

test_switch_fail(self)

source code 

Test the failure of switching to a non-existant data pipe.

The function used is generic_fns.pipes.switch().

test_test(self)

source code 

The throwing of RelaxNoPipeError when the pipe does not exist.

The function tested is generic_fns.pipes.test().