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()
    try:
        user = setup_records(session)
    except ConnectionFailure:
        raise SkipTest('MongoDB not running...')
Exemple #3
0
def setup():
    global session, engine, metadata, user
    session, engine, metadata = setup_database()
    user = setup_records(session)