Skip to content

Commit 2cb4fb2

Browse files
committed
Fixed bug in cfp_setup fixture which caused failures in kem and dsa CLI tests
1 parent 1085d24 commit 2cb4fb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_cli/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def closure(algorithm: str) -> t.Generator[CryptoFilePaths, t.Any, None]:
6363
cwd = os.getcwd()
6464
os.chdir(alt_tmp_path)
6565
yield cfp
66+
for item in alt_tmp_path.iterdir():
67+
item.unlink()
6668
os.chdir(cwd)
6769
return closure
6870

0 commit comments

Comments
 (0)