Skip to content

Commit 9d85b63

Browse files
committed
Make a fix in the providers delegation example
1 parent 2b30e17 commit 9d85b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/providers/factory_delegation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def main_photo(self):
2626

2727
# Defining User and Photo factories using DelegatedFactory provider:
2828
photos_factory = providers.DelegatedFactory(Photo)
29-
users_factory = providers.DelegatedFactory(
29+
users_factory = providers.Factory(
3030
User,
3131
photos_factory=photos_factory,
3232
)

0 commit comments

Comments
 (0)