Revision e1530b10 test/ganeti.rapi.rlib2_unittest.py

b/test/ganeti.rapi.rlib2_unittest.py
118 118

  
119 119
                for dry_run in [False, True]:
120 120
                  op = self.Parse(data, dry_run)
121
                  self.assert_(isinstance(op, opcodes.OpCreateInstance))
121
                  self.assert_(isinstance(op, opcodes.OpInstanceCreate))
122 122
                  self.assertEqual(op.mode, mode)
123 123
                  self.assertEqual(op.disk_template, disk_template)
124 124
                  self.assertEqual(op.dry_run, dry_run)

Also available in: Unified diff