Created
October 13, 2020 16:36
-
-
Save sportebois/eaf456e98b65f3479f29490e4a6e5de8 to your computer and use it in GitHub Desktop.
Automatically start/stop the exposer in a thread
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@fixture(scope="session") | |
def exposer_thread(request): | |
start_exposer_thread() | |
def close(): | |
stop_exposer_thread() | |
request.addfinalizer(close) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment