Beispiel #1
0
 def test_to_use_search_user_must_be_authenticated(self):
     wrong = Buscape('bozo')
     self.assertRaisesRegexp(URLError, 'The request requires user authentication',wrong.search, method='findProductList',parameter='?keyword=chuveiro') 
Beispiel #2
0
 def setUp(self):
     applicationID = '2b613573535a6d324874493d'
     self.b = Buscape(applicationID=applicationID)