Beispiel #1
0
 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")
Beispiel #3
0
 def getMainPhoto(self):
     """
     """
     pm = IPhotoManagement(self.context)
     return pm.getMainPhoto()
Beispiel #4
0
 def getMainPhoto(self):
     """
     """
     pm = IPhotoManagement(self.context)
     return pm.getMainPhoto()