pg = create_postgres_fixture()
db = create_session_fixture(pg)
but i couldn't figure out a way of targeting the first fixture name, as pytest bases it's name off the pg name bound in the globals of the module, and has nothing to do with the actual fixture function object.
Fixes #27
I had originally wanted
but i couldn't figure out a way of targeting the first fixture name, as pytest bases it's name off the
pg
name bound in the globals of the module, and has nothing to do with the actual fixture function object.This seems like a medium compromise.