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
Collaboration diagram for setup.test_biopython:
Collaboration graph

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 build
python install
python test

Definition at line 212 of file

Member Function Documentation

Definition at line 229 of file

00230     def finalize_options(self):
00231         pass

Definition at line 226 of file

00227     def initialize_options(self):
00228         pass

def (   self)

Definition at line 232 of file

00233     def run(self):
00234         this_dir = os.getcwd()
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([])
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

Definition at line 224 of file

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