Skip to content

Configure basetemp in ini config file #7876

Answered by nicoddemus
yihuang asked this question in General
Discussion options

You must be logged in to vote

Since we have this issue, in our project, we have to pass --basetemp=/tmp/pytest argument every time. I suggest we support setting this option in ini file.

You can already add this to your pytest.ini file:

[pytest]
addopts = --basetemp=/tmp/pytest

I believe this is enough to work around the problem?

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nicoddemus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7876 on October 09, 2020 10:33.