Discussion about this post

User's avatar
Adam's avatar

Also i had to import random package directly to make it work, but in your examples there is no such import. Maybe we use different pythons(3.10 here), but if it is not a case you may want to correct that in your example :)

Great read as always.

Expand full comment
Kevin Tewouda's avatar

HI BiteCode, great article as always :)

I think there is a typo with your last example. The fixture "random_number" must be an argument of the function and not the decorator.

Expand full comment
6 more comments...

No posts