Skip to content

Commit

Permalink
/works/ now triggers pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaiarocci committed Mar 6, 2013
1 parent 08c1b36 commit ed3081b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions client.py
Expand Up @@ -85,13 +85,12 @@ def post_people():


def post_works(ids):
titles = ['First', 'Second', 'Third', 'Fourth', 'Fifth']
works = []
for i in range(5):
for i in range(28):
works.append(
{
'title': '%s Book Title' % titles[i],
'description': '%s description' % titles[i],
'title': 'Book Title #%d' % i,
'description': 'Description #%d' % i,
'owner': random.choice(ids),
}
)
Expand Down

0 comments on commit ed3081b

Please sign in to comment.