Revision 21bf2e2e qa/qa_node.py

b/qa/qa_node.py
275 275
    # Power off on master without options should fail
276 276
    AssertCommand(["gnt-node", "power", "-f", "off", master_name], fail=True)
277 277
    # With force master it should still fail
278
    AssertCommand(["gnt-node", "power", "-f",  "--ignore-status", "off",
278
    AssertCommand(["gnt-node", "power", "-f", "--ignore-status", "off",
279 279
                   master_name],
280 280
                  fail=True)
281 281

  
......
302 302
    AssertCommand(["gnt-node", "health"], fail=True)
303 303

  
304 304
    # Correct Data, exit 0
305
    _UpdateOobFile(data_path, serializer.DumpJson({ "powered": True }))
305
    _UpdateOobFile(data_path, serializer.DumpJson({"powered": True}))
306 306

  
307 307
    AssertCommand(["gnt-node", "power", "status", node_name])
308 308
    _AssertOobCall(verify_path, "power-status %s" % full_node_name)
......
315 315

  
316 316
    AssertCommand(["gnt-node", "health"])
317 317

  
318

  
319 318
    # Those commands should fail as they expect no data regardless of exit 0
320 319
    AssertCommand(["gnt-node", "power", "on", node_name], fail=True)
321 320
    _AssertOobCall(verify_path, "power-on %s" % full_node_name)

Also available in: Unified diff