Module s.d.testsuite

Part of stoqlib.database

Database routines which are used by the testsuite
Class FakeApplicationDescriptions Undocumented
Class TestsuiteNotifier Undocumented
Function _provide_database_settings Undocumented
Function _provide_current_user Undocumented
Function _provide_current_station Undocumented
Function provide_database_settings Provide database settings.
Function _provide_payment_operation_manager Undocumented
Function provide_utilities Provide utilities like current user and current station.
Function bootstrap_testsuite Test.
def _provide_database_settings():
Undocumented
def _provide_current_user():
Undocumented
def _provide_current_station(station_name=None, branch_name=None):
Undocumented
def provide_database_settings(dbname=None, address=None, port=None, username=None, password=None, create=True):
Provide database settings.
Parametersdbname
address
port
username
password
createCreate a new empty database if one is missing
def _provide_payment_operation_manager():
Undocumented
def provide_utilities(station_name, branch_name=None):
Provide utilities like current user and current station.
Parametersstation_name
branch_name
def bootstrap_testsuite(address=None, dbname=None, port=5432, username=None, password='', station_name=None, quick=False):
Test.
Parametersaddress
dbname
port
username
password
station_name
quick
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.