def nodesCli(looper, tdir, nodeNames): cli = newCLI(looper, tdir) cli.enterCmd("new node all") checkAllNodesStarted(cli, *nodeNames) return cli
def ensureNodesCreated(cli, nodeNames): cli.enterCmd("new node all") # TODO: Why 2 different interfaces one with list and one with varags assertAllNodesCreated(cli, nodeNames) checkAllNodesStarted(cli, *nodeNames)