def METHOD_NAME(self):
    obj = ObjectWithColor(color="rebeccapurple")
    self.assertIsInstance(obj.color, QtGui.QColor)
    self.assertEqual(obj.color.getRgb(), (0x66, 0x33, 0x99, 0xff))
    self.assertIsInstance(obj.color_, QtGui.QColor)
    self.assertEqual(obj.color_.getRgb(), (0x66, 0x33, 0x99, 0xff))