Skip to content

Commit

Permalink
setting page number
Browse files Browse the repository at this point in the history
  • Loading branch information
tatianass committed Jul 2, 2017
1 parent c08cd72 commit fe7b939
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/search_all_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit fe7b939

Please sign in to comment.