Exemple #1
0
 def test_product_image(self):
     product = Product(os.getenv('GSX_SN', '123456789'))
     product.description = 'MacBook Air (13-inch min 2013)'
     img = product.fetch_image(
         'https://static.servoapp.com/images/products/macbook-air-13-inchmid-2013.jpg'
     )
     self.assertTrue(os.path.exists(img))
Exemple #2
0
 def test_product_image(self):
     product = Product(os.getenv('GSX_SN', '123456789'))
     product.description = 'MacBook Air (13-inch min 2013)'
     img = product.fetch_image('https://static.servoapp.com/images/products/macbook-air-13-inchmid-2013.jpg')
     self.assertTrue(os.path.exists(img))