Beginner in testing. I want example of __init__.py in test package #13075
Replies: 2 comments 1 reply
-
FWIW, I'm of an opinion that |
Beta Was this translation helpful? Give feedback.
-
@AntsForBreakfast you actually don't need to add anything into the Here's some docs: https://docs.python.org/3/tutorial/modules.html#packages
|
Beta Was this translation helpful? Give feedback.
-
I heared having init.py in test packages is good practice but i never written init.py and not sure what supposed to be in it. Maybe a simple code example or explanation would help. Im a bit more of a visual learner, code would be perfect. Thanks
Beta Was this translation helpful? Give feedback.
All reactions