Skip to content
Snippets Groups Projects
Verified Commit 9439cbdd authored by Yaroslav Dynnikov's avatar Yaroslav Dynnikov
Browse files

fix: preserve env when running pytest

Before this patch, pytest used to launch all instances in a clean
environment. It prevented running with `PICODATA_LOG_LEVEL=verbose`.
parent 1da4a7e7
No related branches found
No related tags found
1 merge request!99fix: preserve env when running pytest
Pipeline #4890 passed
......@@ -234,7 +234,7 @@ class Instance:
self.process = subprocess.Popen(
self.command,
env=self.env or {},
env=self.env or None,
stdin=subprocess.DEVNULL,
start_new_session=True,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment