Package obitools :: Package unit :: Package obitools :: Class BioseqTest
[hide private]
[frames] | no frames]

Class BioseqTest

source code


Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
testIdAttribute(self)
test if id attribute exists
source code
 
testIdValue(self)
test if id attribute value is 'id1'
source code
 
testDefinitionAttribute(self)
test if definition attribute exists
source code
 
testSequenceIsLowerCase(self)
test if sequence is stored as lower case letter
source code
 
testSequenceQualifier(self)
test if the extra qualifier is present and its value is three.
source code
 
testCreateSequenceQualifier(self) source code

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

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

Class Variables [hide private]
  sequenceId = 'id1'
  sequenceDefinition = 'sequence definition'
  sequenceQualifier = {'extra': 3}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.TestCase.tearDown
(inherited documentation)