Exemplo n.º 1
0
def CliBuilder(tdir, tdirWithPoolTxns, tdirWithDomainTxnsUpdated, tconf,
               cliTempLogger):
    return getCliBuilder(tdir,
                         tconf,
                         tdirWithPoolTxns,
                         tdirWithDomainTxnsUpdated,
                         logFileName=cliTempLogger)
Exemplo n.º 2
0
def earlMultiNodePools(request, multiPoolNodesCreated, tdir,
                         tdirWithPoolTxns, tdirWithDomainTxns, tconf):
    oldENVS = tconf.ENVS
    oldPoolTxnFile = tconf.poolTransactionsFile
    oldDomainTxnFile = tconf.domainTransactionsFile

    yield from getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxns,
                             multiPoolNodesCreated) ("earl")

    def reset():
        tconf.ENVS = oldENVS
        tconf.poolTransactionsFile = oldPoolTxnFile
        tconf.domainTransactionsFile = oldDomainTxnFile

    request.addfinalizer(reset)
Exemplo n.º 3
0
def aliceMultiNodePools(request, multiPoolNodesCreated, tdir,
                        tdirWithPoolTxns, tdirWithDomainTxnsUpdated, tconf,
                        cliTempLogger):
    oldENVS = tconf.ENVS
    oldPoolTxnFile = tconf.poolTransactionsFile
    oldDomainTxnFile = tconf.domainTransactionsFile

    yield from getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxnsUpdated,
                             cliTempLogger, multiPoolNodesCreated)("alice")

    def reset():
        tconf.ENVS = oldENVS
        tconf.poolTransactionsFile = oldPoolTxnFile
        tconf.domainTransactionsFile = oldDomainTxnFile

    request.addfinalizer(reset)
Exemplo n.º 4
0
def earlMultiNodePools(request, multiPoolNodesCreated, tdir,
                       tdirWithPoolTxns, tdirWithDomainTxnsUpdated, tconf,
                       cliTempLogger):
    oldENVS = tconf.ENVS
    oldPoolTxnFile = tconf.poolTransactionsFile
    oldDomainTxnFile = tconf.domainTransactionsFile

    yield from getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxnsUpdated,
                             cliTempLogger, multiPoolNodesCreated)("earl")

    def reset():
        tconf.ENVS = oldENVS
        tconf.poolTransactionsFile = oldPoolTxnFile
        tconf.domainTransactionsFile = oldDomainTxnFile

    request.addfinalizer(reset)
Exemplo n.º 5
0
def CliBuilder(tdir, tdirWithPoolTxns, tdirWithDomainTxns, tconf):
    return getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxns)
Exemplo n.º 6
0
def CliBuilder(tdir, tdirWithPoolTxns, tdirWithDomainTxnsUpdated, tconf, cliTempLogger):
    return getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxnsUpdated,
                         logFileName=cliTempLogger)