def testGetMainPhoto(self): """ """ pm = IPhotoManagement(self.product_1) self.assertEqual(pm.getMainPhoto().getId(), "product_1")
def testGetMainPhoto(self): """ """ pm = IPhotoManagement(self.product_1) self.assertEqual(pm.getMainPhoto().getId(), "product_1")
def getMainPhoto(self): """ """ pm = IPhotoManagement(self.context) return pm.getMainPhoto()
def getMainPhoto(self): """ """ pm = IPhotoManagement(self.context) return pm.getMainPhoto()