We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d66ec6 commit acffccaCopy full SHA for acffcca
tests/rest/auth/test_cli.py
@@ -1,3 +1,4 @@
1
+from pathlib import Path
2
from unittest import mock
3
4
import pytest
@@ -21,7 +22,7 @@ def mock_secret_input(secret: str):
21
22
23
@pytest.fixture
24
def tmp_openeo_config(tmp_path):
- path = ensure_dir(tmp_path / "openeo_conf")
25
+ path = ensure_dir(Path(str(tmp_path)) / "openeo_conf")
26
with mock.patch.dict("os.environ", {"OPENEO_CONFIG_HOME": str(path)}):
27
yield path
28
0 commit comments