Migrate from Poetry and pyenv to uv
This commit is contained in:
+6
-5
@@ -1,11 +1,14 @@
|
||||
"""
|
||||
Konfigurace pytest - sdílené fixtures a nastavení pro všechny testy
|
||||
"""
|
||||
import pytest
|
||||
import tempfile
|
||||
|
||||
import contextlib
|
||||
import shutil
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def session_temp_dir():
|
||||
@@ -22,7 +25,5 @@ def cleanup_config_files():
|
||||
# Cleanup po testu
|
||||
config_file = Path("config.json")
|
||||
if config_file.exists():
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
config_file.unlink()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user