Package test_suite :: Package unit_tests :: Package _prompt :: Module test_residue :: Class Test_residue
[hide private]
[frames] | no frames]

Class Test_residue

source code


Unit tests for the functions of the 'prompt.residue' 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 residue.copy() user function for the pipe_from argument.
source code
 
test_copy_argfail_res_from(self)
Test the proper failure of the residue.copy() user function for the res_from argument.
source code
 
test_copy_argfail_pipe_to(self)
Test the proper failure of the residue.copy() user function for the pipe_to argument.
source code
 
test_copy_argfail_res_to(self)
Test the proper failure of the residue.copy() user function for the res_to argument.
source code
 
test_create_argfail_res_num(self)
Test the proper failure of the residue.create() user function for the res_num argument.
source code
 
test_create_argfail_res_name(self)
Test the proper failure of the residue.create() user function for the res_name argument.
source code
 
test_create_argfail_mol_name(self)
Test the proper failure of the residue.create() user function for the mol_name argument.
source code
 
test_delete_argfail_res_id(self)
Test the proper failure of the residue.delete() user function for the res_id argument.
source code
 
test_display_argfail_res_id(self)
Test the proper failure of the residue.display() user function for the res_id argument.
source code
 
test_name_argfail_res_id(self)
Test the proper failure of the residue.name() user function for the res_id argument.
source code
 
test_name_argfail_name(self)
Test the proper failure of the residue.name() user function for the name argument.
source code
 
test_number_argfail_res_id(self)
Test the proper failure of the residue.number() user function for the res_id argument.
source code
 
test_number_argfail_number(self)
Test the proper failure of the residue.number() user function for the number argument.
source code

Inherited from residue_testing_base.Residue_base_class: setUp, setup_data, test_copy_residue_between_molecules, test_copy_residue_between_pipes, test_copy_residue_between_pipes_fail_no_pipe, test_copy_residue_within_molecule, test_copy_residue_within_molecule_fail1, test_copy_residue_within_molecule_fail2, test_create_residue, test_create_residue_fail, test_delete_residue_all, test_delete_residue_fail, test_delete_residue_name, test_delete_residue_num, test_delete_residue_shift, test_display_residue, test_display_residue_fail, test_name_residue, test_name_residue_many, test_name_residue_no_spin, test_number_residue, test_number_residue_many_fail, test_number_residue_no_spin

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__