Table of Contents

Module: database qm/test/database.py
Functions   
get_configuration_directory
get_configuration_file
is_database
load_database
  get_configuration_directory 
get_configuration_directory ( path )

Return the configuration directory for the Database rooted at path.

path
The path to the test database.
returns
The path to the configuration directory.
  get_configuration_file 
get_configuration_file ( path )

Return the configuration file for the Database rooted at path.

path
The path to the test database.
returns
The path to the configuration file.
  is_database 
is_database ( db_path )

Returns true if db_path looks like a test database.

  load_database 
load_database ( db_path )

Load the database from db_path.

db_path
The path to the directory containing the database.
returns
The new Database.
Exceptions   
QMException, qm.error( "not test database", path = db_path )
Classes   

Database

A Database stores tests, testsuites, and resources.

DatabaseError

An exception relating to a Database.

ItemDescriptor

An ItemDescriptor describes a test, resource, or similar entity.

NoSuchItemError

An exception indicating that a particular item could not be found.

NoSuchResourceError

The specified resource does not exist.

NoSuchSuiteError

The specified suite does not exist.

NoSuchTestError

The specified test does not exist.

ResourceDescriptor

A resource instance.

TestDescriptor

A test instance.


Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1