Skip to content

Using secrets in python test with tox #26745

Discussion options

You must be logged in to vote

As this post was originally hidden by I assume spam protection I have found solution.
My tox.ini lacked definition of which env variables should be passed to the tests, tox does not pass all the variables.
So I have extended [testenv] definition with

passenv =
    KIWI_API_KEY

which solved the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant