def setup(): global session, engine, metadata, user session, engine, metadata = setup_database() try: user = setup_records(session) except ConnectionFailure: raise SkipTest('MongoDB not running...')
def setup(): global session, engine, metadata, user session, engine, metadata = setup_database() user = setup_records(session)