doc: complete readme with the callback capability
1 files changed, 10 insertions(+), 0 deletions(-) M README.md
M README.md +10 -0
@@ 26,6 26,16 @@ From this, in test modules, one can use assert name == 'Babar' ``` +If there is a schema initialization function, it can also be given to +`engine_fixture`: + +```python + from myapp import schema + engine = fixture.engine_fixture(schema.meta, 'data', 5433, + # must accept `engine` and `meta` objects + schema.init) +``` + ## DIRECTLY USING THE POSTGRES CLUSTER HANDLER