Permalink
Browse files

added test code

  • Loading branch information...
1 parent e3247ff commit 92db8911d67134c249585390c06250d0b44bbc9b @doofdoofsf committed Feb 25, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 test/test_get.py
View
@@ -31,3 +31,12 @@ def test_product_image(self):
image = product.images[0]
# print "Found Product image = %s" % image.url
self.assertTrue(image.width > 10)
+
+ def test_product_sku(self):
+ active_sales = self.giltClient.active("kids")
+ sale = active_sales[0]
+ product_url = sale.product_urls[0]
+ product = self.giltClient.product_detail(product_url)
+ sku = product.skus[0]
+ # for sku in product.skus:
+ # print "sku id is %s" % sku.id

0 comments on commit 92db891

Please sign in to comment.