You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a function that starts a sever that i want to test with pytest, but the only way to stop the server it is with CTRL + C but i wont be able to do because it will be ran in github actions. So I want pytest to be able to execute the code that launches the server then stop it by sending a ctrl + C without any user action.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a function that starts a sever that i want to test with pytest, but the only way to stop the server it is with CTRL + C but i wont be able to do because it will be ran in github actions. So I want pytest to be able to execute the code that launches the server then stop it by sending a ctrl + C without any user action.
Beta Was this translation helpful? Give feedback.
All reactions