def test_search(self):
        products = self.amazon.search(Keywords='kindle', SearchIndex='All')
        for product in products:
            assert_true(hasattr(product, 'title'))
            break
        else:
            assert_true(False, 'No search results returned.')
Test Product Search.
dataset/ETHPy150Open yoavaviram/python-amazon-simple-product-api/tests.py/TestAmazonApi.test_search