Skip to content

Commit acffcca

Browse files
committed
fix unit tests for python 3.5
1 parent 6d66ec6 commit acffcca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/rest/auth/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from pathlib import Path
12
from unittest import mock
23

34
import pytest
@@ -21,7 +22,7 @@ def mock_secret_input(secret: str):
2122

2223
@pytest.fixture
2324
def tmp_openeo_config(tmp_path):
24-
path = ensure_dir(tmp_path / "openeo_conf")
25+
path = ensure_dir(Path(str(tmp_path)) / "openeo_conf")
2526
with mock.patch.dict("os.environ", {"OPENEO_CONFIG_HOME": str(path)}):
2627
yield path
2728

0 commit comments

Comments
 (0)