def reincarnatedCLI(nodeRegsForCLI, newLooper, tdir, cli): """ Creating a new cli instance is equivalent to starting and stopping a cli """ cli = newCLI(nodeRegsForCLI, newLooper, tdir, unique_name='reincarnate') yield cli cli.close()
def cli2(cliLooper, tdir, tdirWithClientPoolTxns, tdirWithNodeKeepInited, tconf): tempDir = os.path.join(tdirWithClientPoolTxns, "cl2") initDirWithGenesisTxns(tempDir, tconf, tdirWithClientPoolTxns) cli = newCLI(cliLooper, tempDir, tempDir) yield cli cli.close()
def cli1(cliLooper, tdir, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithNodeKeepInited, tconf): tempDir = os.path.join(tdir, "cl1") initDirWithGenesisTxns(tempDir, tconf, tdirWithPoolTxns, tdirWithDomainTxns) cli = newCLI(cliLooper, tempDir) yield cli cli.close()
def cli(tdir, cliLooper, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithClientPoolTxns, tdirWithNodeKeepInited): cli = newCLI(cliLooper, tdirWithClientPoolTxns, tdirWithPoolTxns, nodes_chroot=tdir) yield cli cli.close()
def aliceCli(tdir, cliLooper, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithClientPoolTxns, tdirWithNodeKeepInited): cli = newCLI(cliLooper, tdirWithClientPoolTxns, tdirWithPoolTxns, nodes_chroot=tdir, unique_name='alice') yield cli cli.close()
def cli1(cliLooper, tdir, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithNodeKeepInited, tconf): tempDir = os.path.join(tdir, "cl1") initDirWithGenesisTxns(tempDir, tconf, tdirWithPoolTxns, tdirWithDomainTxns) return newCLI(cliLooper, tempDir)
def cli(cliLooper, tdir, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithNodeKeepInited): cli = newCLI(cliLooper, tdir) yield cli cli.close()
def reincarnatedCLI(nodeRegsForCLI, newLooper, tdir, cli): """ Creating a new cli instance is equivalent to starting and stopping a cli """ return newCLI(nodeRegsForCLI, newLooper, tdir)
def cli2(cliLooper, tdir, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithNodeKeepInited, tconf): tempDir = os.path.join(tdir, "cl2") initDirWithGenesisTxns(tempDir, tconf, tdirWithPoolTxns, tdirWithDomainTxns) return newCLI(cliLooper, tempDir)
def cli(cliLooper, tdir, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithNodeKeepInited): return newCLI(cliLooper, tdir)
def aliceCli(cliLooper, tdir, tdirWithPoolTxns, tdirWithDomainTxns, tdirWithNodeKeepInited): return newCLI(cliLooper, tdir, unique_name='alice')