DEV Community

Discussion on: PyTest with Django REST Framework: From Zero to Hero

 
sherlockcodes profile image
Lucas Miguel

Because it's passed as a fixture to the test function. You don't need no imports. It's PyTest's ABC. If you make a basic pytest tutorial or go through this article there's no way you don't encounter fixtures. I encourage you to do a basic pytest tutorial and then go through this article. You should not have any doubts like this left. Hope I was helpful

Thread Thread
 
marvinkweyu profile image
Marvin

100%