module documentation

Test utilities.

Function copy_file Undocumented
Function db_model Undocumented
Function dict_of Undocumented
Function feature Undocumented
Function fxml Undocumented
Function gws_configure Undocumented
Function gws_model_context Undocumented
Function gws_root Undocumented
Function gws_system_user Undocumented
Function make_users_json Undocumented
Function mockserver_add_snippet Undocumented
Function mockserver_clear Undocumented
Function mockserver_invoke Undocumented
Function model Undocumented
Function option Undocumented
Function pg_connect Undocumented
Function pg_create Undocumented
Function pg_exec Undocumented
Function pg_insert Undocumented
Function pg_rows Undocumented
Function read_file Undocumented
Function rel_path Undocumented
Function setup Undocumented
Function sleep Undocumented
Function teardown Undocumented
Function work_dir Undocumented
Function write_file Undocumented
Function write_file_if_changed Undocumented
Constant OPTIONS Undocumented
Constant _CONFIG_DEFAULTS Undocumented
Constant _PG_CONN Undocumented
Constant _PG_ENGINE Undocumented
Constant _SPEC Undocumented
Variable _comma Undocumented
def copy_file(path, dir): (source)

Undocumented

def db_model(root, name) -> gws.IDatabaseModel: (source)

Undocumented

def dict_of(x): (source)

Undocumented

def feature(model, **atts) -> gws.IFeature: (source)

Undocumented

def fxml(s): (source)

Undocumented

def gws_configure(config: str): (source)

Undocumented

def gws_model_context(**kwargs): (source)

Undocumented

def gws_root(): (source)

Undocumented

def gws_system_user(): (source)

Undocumented

def make_users_json(lst): (source)

Undocumented

def mockserver_add_snippet(text): (source)

Undocumented

def mockserver_clear(): (source)

Undocumented

def mockserver_invoke(url_path, params: dict = None, data: str|bytes|dict = None) -> str|bytes|dict|None: (source)

Undocumented

def model(root, name) -> gws.IModel: (source)

Undocumented

def option(name, default=None): (source)

Undocumented

def pg_connect(): (source)

Undocumented

def pg_create(table_name, col_defs): (source)

Undocumented

def pg_exec(sql: str, **kwargs): (source)

Undocumented

def pg_insert(table_name, row_dicts): (source)

Undocumented

def pg_rows(sql: str) -> list[tuple]: (source)

Undocumented

def read_file(path): (source)

Undocumented

def rel_path(path): (source)

Undocumented

def setup(): (source)

Undocumented

def sleep(n): (source)

Undocumented

def teardown(): (source)

Undocumented

def work_dir(): (source)

Undocumented

def write_file(path, text): (source)

Undocumented

def write_file_if_changed(path, text): (source)

Undocumented

OPTIONS: dict = (source)

Undocumented

Value
{}
_CONFIG_DEFAULTS: str = (source)

Undocumented

Value
'''
    database.providers+ { type "postgres" serviceName "gws_test_postgres" } 
'''
_PG_CONN = (source)

Undocumented

Value
None
_PG_ENGINE = (source)

Undocumented

Value
None

Undocumented

Value
None

Undocumented