Exemple #1
0
def pytest_funcarg__db(request):
    s = TestServer()

    db = s.get_db('test')
    pm = PackageManager()
    pm.use('cakeplant.bank')
    pm.set_db(db, 'taburet.transactions', 'taburet.accounts')
    pm.sync_design_documents()

    return db
Exemple #2
0
def pytest_funcarg__config(request):
    s = TestServer()
    return Configuration(s.get_db("test"))