Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Kill subprocesses when test ends #172

Merged

Conversation

erik-megarad
Copy link
Contributor

Background

Before we introduce webserver tests we need to be able to kill subprocesses so there aren't lingering ones between tests.

Changes

Adds a pytest fixture to kill subprocesses.

PR Quality Checklist

  • I have run the following commands against my code to ensure it passes our linters:
    black .
    isort .
    mypy .
    autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring --in-place agbenchmark

@waynehamadi waynehamadi force-pushed the cleanup_subprocesses branch from a957c57 to 499035e Compare July 20, 2023 22:17
Signed-off-by: Merwane Hamadi <[email protected]>
@waynehamadi waynehamadi force-pushed the cleanup_subprocesses branch from 6678fbc to 4373035 Compare July 20, 2023 22:39
@waynehamadi waynehamadi merged commit 5a3b4f3 into Significant-Gravitas:master Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants