def testAgentCliForInvalidCommand(be, do, acmeAgentCliRunning):
    be(acmeAgentCliRunning)
    do('set Attr1 to Value1',
       expect=[
           "Invalid command: 'set Attr1 to Value1'",
           getAgentCliHelpString()
       ])
Exemplo n.º 2
0
def testAgentCliForInvalidCommand(be, do, acmeAgentCliRunning):
    be(acmeAgentCliRunning)
    do('set Attr1 to Value1', expect=[
        "Invalid command: 'set Attr1 to Value1'",
        getAgentCliHelpString()])
Exemplo n.º 3
0
def testAgentCliHelp(be, do, acmeAgentCliRunning):
    be(acmeAgentCliRunning)
    do('help', expect=[getAgentCliHelpString()])
def testAgentCliHelp(be, do, acmeAgentCliRunning):
    be(acmeAgentCliRunning)
    do('help', expect=[getAgentCliHelpString()])