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 b4c37c0 commit 5f8f32aCopy full SHA for 5f8f32a
tests/unit/utils/test_download.py
@@ -367,7 +367,7 @@ def test_get_download_path__auto_dir():
367
path = get_download_path(file_name="file_name.zip")
368
369
# Assert
370
- assert path == Path(tempfile.gettempdir()).absolute() / "file_name.zip"
+ assert path == Path(tempfile.gettempdir()).resolve() / "file_name.zip"
371
372
373
def test_get_download_path__auto_file_name(temp_dir: Path):
tests/unit/utils/test_zip_files.py
@@ -21,7 +21,7 @@
21
@pytest.fixture()
22
def temp_dir():
23
with tempfile.TemporaryDirectory() as tmp:
24
- yield Path(tmp)
+ yield Path(tmp).resolve()
25
26
27
@patch("power_grid_model_io.utils.download.tqdm")
0 commit comments