<div dir="ltr"><span style="font-size:12.8px">Dear all, </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am Indirajith, a new python learner. I am not sure if this is a good way to seek help, if not I am really sorry forgive me.  </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Introduction:</div><div style="font-size:12.8px">I am involved in an open source project and try to help, improve it. The software consists of backend python which interacts with Docker and mongo DB. In the front end it has GUI/web interface, and REST API. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What I like to learn:</div><div style="font-size:12.8px">I would like to know if there is a way to call a specific function or method in the project as to just check wether it works. For ex. I write a function which calls docker API and interacts with a remote docker deamon. In this case I like to test what I wrote is working as intended. But the imports from other modules and circular imports makes it hard to just call a single function or method. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I can only build the entire project to test it's working and make use of logger messages. Even by this method, I have a problem, the GUI or the REST API is not fully implemented to support all the features/ functions implemented in the backend, and thus I am struck. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Using pythons's unittest/pytest module is the only way to just run when I write new code or modify something? Could you guys suggest or provide pointers to learn how to approach this situation? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you & kind regards,</div><div style="font-size:12.8px">Indirajith. </div></div>