Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1377)

Unified Diff: third_party/boto/tests/integration/mws/test.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/boto/tests/integration/mws/test.py
===================================================================
--- third_party/boto/tests/integration/mws/test.py (revision 33376)
+++ third_party/boto/tests/integration/mws/test.py (working copy)
@@ -71,8 +71,9 @@
response = self.mws.get_product_categories_for_asin(
MarketplaceId=self.marketplace_id,
ASIN=asin)
- result = response._result
- self.assertTrue(int(result.Self.ProductCategoryId) == 21)
+ self.assertEqual(len(response._result.Self), 3)
+ categoryids = [x.ProductCategoryId for x in response._result.Self]
+ self.assertSequenceEqual(categoryids, ['285856', '21', '491314'])
@unittest.skipUnless(simple and isolator, "skipping simple test")
def test_list_matching_products(self):
« no previous file with comments | « third_party/boto/tests/integration/kinesis/test_kinesis.py ('k') | third_party/boto/tests/integration/opsworks/test_layer1.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698