Back to index

python-biopython  1.60
Public Member Functions | Static Public Attributes
setup.test_biopython Class Reference
Inheritance diagram for setup.test_biopython:
Inheritance graph
[legend]
Collaboration diagram for setup.test_biopython:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def initialize_options
def finalize_options
def run

Static Public Attributes

string description = "Automatically run the test suite for Biopython."
list user_options = []

Detailed Description

Run all of the tests for the package.

This is a automatic test run class to make distutils kind of act like
perl. With this you can do:

python setup.py build
python setup.py install
python setup.py test

Definition at line 212 of file setup.py.


Member Function Documentation

Definition at line 229 of file setup.py.

00229 
00230     def finalize_options(self):
00231         pass

Definition at line 226 of file setup.py.

00226 
00227     def initialize_options(self):
00228         pass

def setup.test_biopython.run (   self)

Definition at line 232 of file setup.py.

00232 
00233     def run(self):
00234         this_dir = os.getcwd()
00235 
00236         # change to the test dir and run the tests
00237         os.chdir("Tests")
00238         sys.path.insert(0, '')
00239         import run_tests   
00240         run_tests.main([])
00241 
00242         # change back to the current directory
00243         os.chdir(this_dir)

Here is the call graph for this function:


Member Data Documentation

string setup.test_biopython.description = "Automatically run the test suite for Biopython." [static]

Definition at line 223 of file setup.py.

Definition at line 224 of file setup.py.


The documentation for this class was generated from the following file: