def test_has_color(self): value_type = ConstantValue(color=Color(rgba=(0.4, 0.2, 0.6, 0.8))) self.assertTrue(value_type.has_color(self.model, [0], [0]))
def test_has_color_default(self): value_type = ConstantValue() self.assertFalse(value_type.has_color(self.model, [0], [0]))