-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I want to be able to generate consistent silly mocks.
It appears the solution is to use:silly.mock_random.seed() However, when I do, I do not get consistent results: ❌
import silly
silly.mock_random.seed(123)
print(silly.name())
When I rerun this code, I do not get the same result.
However, when I seed using random I do get consistent results: ✅
import random
import silly
random.seed(123)
print(silly.name())
I guess this ticket regards updating the documentation to properly seed this stuff.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels