Revision a82d9394 test/py/ganeti.rapi.rlib2_unittest.py

b/test/py/ganeti.rapi.rlib2_unittest.py
370 370
    handler = _CreateHandler(rlib2.R_2_instances_name_reboot, ["inst847"], {
371 371
      "dry-run": ["1"],
372 372
      "ignore_secondaries": ["1"],
373
      "reason_text": ["System update"]
373
      "reason_text": ["System update"],
374 374
      }, {}, clfactory)
375 375
    job_id = handler.POST()
376 376

  
......
385 385
    self.assertTrue(op.ignore_secondaries)
386 386
    self.assertTrue(op.dry_run)
387 387
    self.assertEqual(op.reason,
388
      (constants.INSTANCE_REASON_SOURCE_RAPI,
389
       "System update",
390
      ))
388
                     (constants.INSTANCE_REASON_SOURCE_RAPI, "System update"))
391 389

  
392 390
    self.assertRaises(IndexError, cl.GetNextSubmittedJob)
393 391

  

Also available in: Unified diff