def walletCreatedForTestEnv(preRequisite, be, do, earlCLI): be(earlCLI) createAndAssertNewKeyringCreation(do, "default1") createAndAssertNewKeyringCreation(do, "default2") connectIfNotAlreadyConnected(do, earlCLI, {}) createAndAssertNewKeyringCreation(do, "test2") exitFromCli(do)
def walletCreatedForTestEnv(preRequisite, be, do, earlCLI, connectedToTest): be(earlCLI) createAndAssertNewKeyringCreation(do, "default1") createAndAssertNewKeyringCreation(do, "default2") connectIfNotAlreadyConnected(do, connectedToTest, earlCLI, {}) createAndAssertNewKeyringCreation(do, "test2") exitFromCli(do)
def createNewKeyring(name, do, expectedMsgs=None): createAndAssertNewKeyringCreation(do, name, expectedMsgs)