def test_search(self): res = search.Query('santos', country='jp') matches = res.list() assert is_match_for(NAME, matches[0][0]) == True assert is_match_for(NAME, matches[1][0]) == True assert is_match_for(WISHLIST, matches[0][1]) == True assert is_match_for(WISHLIST, matches[1][1]) == True
def app(query, store): if store is None: store = 'us' res = search.Query(query, country=store) matches = res.list() for match in matches: print match
def test_search(self): res = search.Query('caio begotti', country='br') matches = res.list() assert is_match_for(NAME, matches[0][0]) == True
def test_search(self): res = search.Query('*****@*****.**', country='in') matches = res.list()[0] assert is_match_for(NAME, matches[0]) == True assert is_match_for(WISHLIST, matches[1]) == True