Skip to content

Commit

Permalink
Merge pull request #185 from mouchimotte/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux committed Dec 14, 2022
2 parents 8d57adb + 2d0b71f commit 847e9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ An example of factory_boy_ and pytest_ integration.
@pytest.mark.parametrize("author__name", ["Bill Gates"])
def test_parametrized(book):
"""You can set any factory attribute as a fixture using naming convention."""
assert book.name == "PyTest for Dummies"
assert book.title == "PyTest for Dummies"
assert book.author.name == "Bill Gates"
Expand Down

0 comments on commit 847e9c8

Please sign in to comment.