Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions testdata/factories/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
class StatisticalPercentageFactory(Factory):
"""
Returns a different value a precentage of a time.
:param factories: a list of 2 item tuples. each tuple contains The Factory that its result should be returned as the first item,
and the chance of that value returning (in precents) as the second.
:param factories: a list of (factory, percentage) tuples. The given factory will be called with the given percentage probability.
Note:
The sum of all precentages should be 100.
Examples:
Expand Down