Jaymon / testdata

Python module to make testing easier, it can generate random data like names and text, run commands, fetch urls, create files and directories, and more
MIT License
10 stars 0 forks source link

testdata.choice should have an exclude set #76

Closed Jaymon closed 3 years ago

Jaymon commented 3 years ago

so you could do something like:

testdata.choice([1, 2, 3, 4], exclude=[1])

and it would return a choice but that choice would not be any value in exclude