Back to index

python-biopython  1.60
Classes | Functions | Variables
test_SeqIO_SeqXML Namespace Reference

Classes

class  TestSimpleRead
class  TestDetailedRead
class  TestReadAndWrite
class  TestReadCorruptFiles

Functions

def assert_equal_records

Variables

dictionary test_files
list corrupt_files
tuple runner = unittest.TextTestRunner(verbosity = 2)

Function Documentation

def test_SeqIO_SeqXML.assert_equal_records (   testCase,
  record_a,
  record_b 
)

Definition at line 25 of file test_SeqIO_SeqXML.py.

00025 
00026 def assert_equal_records(testCase,record_a,record_b):
00027     testCase.assertEqual(record_a.id,record_b.id)
00028     testCase.assertEqual(record_a.name,record_b.name)
00029     testCase.assertEqual(record_a.description,record_b.description)
00030     testCase.assertEqual(record_a.seq.tostring(),record_b.seq.tostring())
00031     testCase.assertEqual(record_a.dbxrefs,record_b.dbxrefs)
00032     testCase.assertEqual(record_a.annotations,record_a.annotations)
00033     

Here is the caller graph for this function:


Variable Documentation

Initial value:
00001 ["SeqXML/corrupt_example1.xml",
00002                  "SeqXML/corrupt_example2.xml",
00003                 ]

Definition at line 20 of file test_SeqIO_SeqXML.py.

tuple test_SeqIO_SeqXML.runner = unittest.TextTestRunner(verbosity = 2)

Definition at line 157 of file test_SeqIO_SeqXML.py.

Initial value:
00001 {
00002     "dna" : ["SeqXML/dna_example.xml",4],
00003     "rna" : ["SeqXML/rna_example.xml",5],
00004     "protein" : ["SeqXML/protein_example.xml",5],
00005     "globalSpecies" : ["SeqXML/global_species_example.xml",2],
00006 }

Definition at line 13 of file test_SeqIO_SeqXML.py.