Good idea, but not quite enough. The idea of testing this line is to see that you are indeed calling main() when you run the script. You are not testing that, although you are testing the condition itself

Alibek Cholponbaev
Alibek Cholponbaev

Written by Alibek Cholponbaev

Database Developer & Data Engineer. Passionate about technologies, self-improvement and making the world a better place.

No responses yet