Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Load override envfile sooner than pytest_sessionstart#30

Open
neskk wants to merge 4 commits into
quiqua:masterfrom
neskk:fix/issue-29
Open

Load override envfile sooner than pytest_sessionstart#30
neskk wants to merge 4 commits into
quiqua:masterfrom
neskk:fix/issue-29

Conversation

@neskk

@neskk neskk commented May 8, 2025

Copy link
Copy Markdown

Closes issue #29
I did some local tests and this works as intended.

Now, when my project executes the pytest_configure hook, the --envfile specified in cmdline options is already loaded and properly overrode the overlapping env variables.

Also took the liberty to add some minor quality-of-life improvements to this project:

  • Document how to run unit-tests.
  • Added venv/ to gitignore, as this is a commonly used path for virtual-environments.

@neskk

neskk commented May 9, 2025

Copy link
Copy Markdown
Author

@quiqua Hello sir, can you please merge this PR?
I can help you to manage this repository if you like the idea.

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.

1 participant