small fixes for Factory docs and examples

This commit is contained in:
Roman Mogilatov 2015-06-05 11:39:01 +03:00
parent 2e8f59115f
commit 776bbc7dde
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ useful for testing). So, please, follow the example below:
# Creating several User objects:
user1 = users_factory(1) # Same as: User(1, main_photo=Photo())
user2 = users_factory(2) # Same as: User(1, main_photo=Photo())
user2 = users_factory(2) # Same as: User(2, main_photo=Photo())
# Making some asserts:
assert user1.id == 1

View File

@ -32,7 +32,7 @@ users_factory = Factory(User,
# Creating several User objects:
user1 = users_factory(1) # Same as: User(1, main_photo=Photo())
user2 = users_factory(2) # Same as: User(1, main_photo=Photo())
user2 = users_factory(2) # Same as: User(2, main_photo=Photo())
# Making some asserts:
assert user1.id == 1