コード例 #1
0
def CliBuilder(tdir, tdirWithPoolTxns, tdirWithDomainTxnsUpdated, tconf,
               cliTempLogger):
    return getCliBuilder(tdir,
                         tconf,
                         tdirWithPoolTxns,
                         tdirWithDomainTxnsUpdated,
                         logFileName=cliTempLogger)
コード例 #2
0
ファイル: conftest.py プロジェクト: lovesh/sovrin-client
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)
コード例 #3
0
ファイル: conftest.py プロジェクト: Artemkaaas/sovrin-client
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)
コード例 #4
0
ファイル: conftest.py プロジェクト: Artemkaaas/sovrin-node
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)
コード例 #5
0
ファイル: conftest.py プロジェクト: lovesh/sovrin-client
def CliBuilder(tdir, tdirWithPoolTxns, tdirWithDomainTxns, tconf):
    return getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxns)
コード例 #6
0
ファイル: conftest.py プロジェクト: Artemkaaas/sovrin-node
def CliBuilder(tdir, tdirWithPoolTxns, tdirWithDomainTxnsUpdated, tconf, cliTempLogger):
    return getCliBuilder(tdir, tconf, tdirWithPoolTxns, tdirWithDomainTxnsUpdated,
                         logFileName=cliTempLogger)