Package test_suite :: Package unit_tests :: Package _prompt :: Module test_molecule :: Class Test_molecule
[hide private]
[frames] | no frames]

Class Test_molecule

source code


Unit tests for the functions of the 'prompt.molecule' module.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
__init__(self, methodName=None)
Set up the test case class for the system tests.
source code
 
test_copy_argfail_pipe_from(self)
Test the proper failure of the molecule.copy() user function for the pipe_from argument.
source code
 
test_copy_argfail_mol_from(self)
Test the proper failure of the molecule.copy() user function for the mol_from argument.
source code
 
test_copy_argfail_pipe_to(self)
Test the proper failure of the molecule.copy() user function for the pipe_to argument.
source code
 
test_copy_argfail_mol_to(self)
Test the proper failure of the molecule.copy() user function for the mol_to argument.
source code
 
test_create_argfail_mol_name(self)
Test the proper failure of the molecule.create() user function for the mol_name argument.
source code
 
test_delete_argfail_mol_id(self)
Test the proper failure of the molecule.delete() user function for the mol_id argument.
source code
 
test_display_argfail_mol_id(self)
Test the proper failure of the molecule.display() user function for the mol_id argument.
source code
 
test_name_argfail_mol_id(self)
Test the proper failure of the molecule.name() user function for the mol_id argument.
source code
 
test_name_argfail_name(self)
Test the proper failure of the molecule.name() user function for the name argument.
source code

Inherited from molecule_testing_base.Molecule_base_class: setUp, setup_data, test_copy_molecule_between_pipes, test_copy_molecule_between_pipes_fail_no_pipe, test_copy_molecule_within_pipe, test_copy_molecule_within_pipe_fail, test_create_molecule, test_create_molecule_fail, test_delete_molecule, test_delete_molecule_all, test_delete_molecule_fail, test_display_molecule, test_display_molecule_fail, test_name_molecule, test_name_molecule_fail, test_name_molecule_many_fail

Inherited from base_classes.UnitTestCase: tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __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, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, methodName=None)
(Constructor)

source code 

Set up the test case class for the system tests.

Overrides: object.__init__