| Home | Trees | Index | Help |
|---|
|
|
|
|||
| ItemDescriptor | An 'ItemDescriptor' describes a test, resource, or similar entity. | ||
| TestDescriptor | A test instance. | ||
| ResourceDescriptor | A resource instance. | ||
| DatabaseError | An exception relating to a 'Database'. | ||
| NoSuchItemError | An exception indicating that a particular item could not be found. | ||
| NoSuchTestError | The specified test does not exist. | ||
| NoSuchSuiteError | The specified suite does not exist. | ||
| NoSuchResourceError | The specified resource does not exist. | ||
| Database | A 'Database' stores tests, testsuites, and resources. | ||
|
|||
|
get_configuration_directory(path)
Return the configuration directory for the 'Database' rooted at 'path'. |
|||
|
get_configuration_file(path)
Return the configuration file for the 'Database' rooted at 'path'. |
|||
|
is_database(db_path)
Returns true if 'db_path' looks like a test database. |
|||
|
load_database(db_path)
Load the database from 'db_path'. |
|||
|
set_path(path)
Set the database path to be used when the database is loaded. |
|||
|
get_database()
Returns the global Database object. |
|||
|
|||
| __the_database | The global 'Database' object. | ||
| __the_db_path | The path to the database. | ||
| nested_scopes | |||
|
|||
Return the configuration directory for the 'Database' rooted at 'path'. 'path' -- The path to the test database. returns -- The path to the configuration directory. |
Return the configuration file for the 'Database' rooted at 'path'. 'path' -- The path to the test database. returns -- The path to the configuration file. |
|
Load the database from 'db_path'. 'db_path' -- The path to the directory containing the database. returns -- The new 'Database'. |
Set the database path to be used when the database is loaded. 'path' -- A string containing the path to the database. |
Returns the global Database object. returns -- The 'Database' object that corresponds to the currently executing process. It may be None. |
|
|||
__the_databaseThe global 'Database' object.
|
__the_db_pathThe path to the database.
|
nested_scopes
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:30 2007 | http://epydoc.sf.net |