I am trying to test a click based threading application with pytest, basically the application runs forever and waits for a keyboard event.
Here is my myapp/main.py