Package test_suite :: Package system_tests :: Module bmrb :: Class Bmrb
[hide private]
[frames] | no frames]

Class Bmrb

source code


TestCase class for functional tests of the reading and writing of BMRB STAR formatted files.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
__init__(self, methodName='runTest')
Skip the tests if scipy is not installed.
source code
 
setUp(self)
Common set up for these system tests.
source code
 
data_check(self, old_pipe_name='results', new_pipe_name='new', version=None)
Check that all data has been successfully restored from the BMRB files.
source code
 
data_cont_comp(self, label=None, cont_old=None, cont_new=None, prec=7, blacklist=[])
Compare the contents of the two data containers.
source code
 
data_ri_comp_pipe(self, cont_old=None, cont_new=None)
Compare the contents of the two pipe data containers.
source code
 
data_ri_comp_spin(self, cont_old=None, cont_new=None)
Compare the contents of the two spin data containers.
source code
 
test_rw_bmrb_3_0_model_free(self)
Write and then read a BRMB STAR formatted file containing model-free results.
source code
 
test_rw_bmrb_3_1_model_free(self)
Write and then read a BRMB STAR formatted file containing model-free results.
source code

Inherited from base_classes.SystemTestCase: 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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, methodName='runTest')
(Constructor)

source code 

Skip the tests if scipy is not installed.

Parameters:
  • methodName (str) - The name of the test.
Overrides: object.__init__

setUp(self)

source code 

Common set up for these system tests.

Overrides: unittest.case.TestCase.setUp