utils.py - utilities used by tests¶
These are listed in the order prescribed by PEP 8.
Given a dictionary, convert it to an object. For example, if
d['one'] == 1, then after
do = DictToObject(d),
do.one == 1.
Import from a web2py controller. It returns a object of imported names, which also included standard web2py names (
request, etc.). For example,
d = web2py_controller_import('application', 'controller') then allows
controller defined a
The controller, as a string.
write new testsuite_settings.py into models folder