Skip to content

Commit 05af4de

Browse files
committed
Fix copying coverage file in cov_tmp_path fixture
1 parent 4de5664 commit 05af4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def clear_sqlmodel() -> Any:
3131
def cov_tmp_path(tmp_path: Path) -> Generator[Path, None, None]:
3232
yield tmp_path
3333
for coverage_path in tmp_path.glob(".coverage*"):
34-
coverage_destiny_path = top_level_path / coverage_path.name
34+
coverage_destiny_path = top_level_path / "coverage" / coverage_path.name
3535
shutil.copy(coverage_path, coverage_destiny_path)
3636

3737

0 commit comments

Comments
 (0)