Skip to content
Discussion options

You must be logged in to vote

There are several easy ways to do that.

The best way is to use pytest functionality like e.g.:

https://stackoverflow.com/questions/7786648/how-to-call-setup-once-for-all-tests-and-teardown-after-all-are-finished

We do it slightly different with a fixture, that yield to the test...but this is because we want the server to start/stop with each single test.

see test/conftest system_health_check

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by janiversen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants