Example #1
0
 def test_has_image_true(self):
     value_type = ConstantValue(image="question")
     self.assertTrue(value_type.has_image(self.model, [0], [0]))
Example #2
0
 def test_has_image(self):
     value_type = ConstantValue()
     self.assertFalse(value_type.has_image(self.model, [0], [0]))