Exemple #1
0
def acmeAgentCli(agentCliBuilder, acmeAgentPort, tdirWithClientPoolTxns):
    agent = create_acme(port=acmeAgentPort,
                        base_dir_path=tdirWithClientPoolTxns,
                        wallet=buildAcmeWallet())
    cliBuild = agentCliBuilder(name='Acme-Agent', agent=agent)
    cli = cliBuild('Acme-Agent')
    yield from cli
Exemple #2
0
def acmeAgent(tdirWithClientPoolTxns, acmeAgentPort, acmeWallet):
    return create_acme(acmeWallet.name,
                       acmeWallet,
                       base_dir_path=tdirWithClientPoolTxns,
                       port=acmeAgentPort)
Exemple #3
0
def acmeAgent(tdirWithClientPoolTxns, acmeAgentPort, acmeWallet):
    return create_acme(acmeWallet.name, acmeWallet,
                       base_dir_path=tdirWithClientPoolTxns,
                       port=acmeAgentPort)
def acmeAgentCli(agentCliBuilder, acmeAgentPort, tdirWithClientPoolTxns):
    agent = create_acme(port=acmeAgentPort, base_dir_path=tdirWithClientPoolTxns,
                        wallet=buildAcmeWallet())
    cliBuild = agentCliBuilder(name='Acme-Agent', agent=agent)
    cli = cliBuild('Acme-Agent')
    yield from cli