diff --git a/examples/search_all_pages.py b/examples/search_all_pages.py index 3d57f7b..9642843 100644 --- a/examples/search_all_pages.py +++ b/examples/search_all_pages.py @@ -13,7 +13,6 @@ def writeToJSONFile(path, fileName, data): #get all books by query books = gc.search_books_all_pages(q='Gerri Hill', search_field='author') -print(books) #to json data = [] for book in books: diff --git a/tests/client_test.py b/tests/client_test.py index ce82d76..d842b85 100644 --- a/tests/client_test.py +++ b/tests/client_test.py @@ -64,7 +64,7 @@ def test_list_events(self): def test_search_books_total_pages(self): num_pages = self.client.search_books_total_pages(q='Gerri Hill', search_field='author') - eq_(num_pages, 2) + eq_(num_pages, 3) def test_search_books_all_pages(self): books = self.client.search_books_all_pages(q='Gerri Hill', search_field='author')