Migrate from Poetry and pyenv to uv
This commit is contained in:
+4
-2
@@ -1,5 +1,7 @@
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from src.core.utils import list_files
|
||||
|
||||
|
||||
@@ -171,7 +173,7 @@ class TestUtils:
|
||||
files = list_files(temp_dir)
|
||||
|
||||
# Najdeme soubor v subdir2
|
||||
file5 = [f for f in files if f.name == "file5.txt"][0]
|
||||
file5 = next(f for f in files if f.name == "file5.txt")
|
||||
|
||||
# Cesta by měla obsahovat obě složky
|
||||
assert "subdir1" in str(file5)
|
||||
|
||||
Reference in New Issue
Block a user