We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e80f1a commit d6fd480Copy full SHA for d6fd480
1 file changed
tests/conftest.py
@@ -66,6 +66,11 @@ def pytest_configure(config):
66
if config.getoption("--regenerate-output"):
67
tests.CLICONFIG.REGENERATE_OUTPUT = config.getoption(
68
"--regenerate-output")
69
+ if not (config.getoption("--ro-functional") or
70
+ config.getoption("--rw-functional")):
71
+ # Functional tests need access to HOME cached auth.
72
+ # Unit tests shouldn't be touching any HOME files
73
+ os.environ["HOME"] = os.path.dirname(__file__) + "/data/homedir"
74
75
76
@pytest.fixture
0 commit comments