equal
deleted
inserted
replaced
382 |
382 |
383 def seed_user(unused_request, i): |
383 def seed_user(unused_request, i): |
384 """Returns the properties for a new user entity. |
384 """Returns the properties for a new user entity. |
385 """ |
385 """ |
386 properties = { |
386 properties = { |
387 'key_name': 'user_%(num)d' % i, |
387 'key_name': 'user_%d' % i, |
388 'link_id': 'user_%(num)d' % i, |
388 'link_id': 'user_%d' % i, |
389 'account': users.User(email='user_%(num)d@example.com' % i), |
389 'account': users.User(email='user_%d@example.com' % i), |
390 'name': 'User %(num)d' % i, |
390 'name': 'User %d' % i, |
391 } |
391 } |
392 |
392 |
393 return properties |
393 return properties |
394 |
394 |
395 |
395 |