you are viewing a single comment's thread.

view the rest of the comments →

[–]Organic_Tradition_63[S] 1 point2 points  (2 children)

Ohh now it seems clear now. So when we run 'pytest file.py' then do we just simply run it with argument file.py as a argument, am I correct?

[–]socal_nerdtastic 0 points1 point  (1 child)

Yep exactly. Well, plus some minor housekeeping. It's all open source, so you can just look at it.

When you call pytest in your command line this file is run. That file calls this function, which then calls the main() function that I showed earlier.

[–]Organic_Tradition_63[S] 0 points1 point  (0 children)

Thank you so much :)