Update test_scanner.py
@@ -29,8 +29,6 @@ def test_not_should_download_twistcli(tmp_path: Path):
# then
assert not scanner.should_download()
- # cleaning mock file
- twistcli_path.unlink()
def test_should_download_twistcli_again(tmp_path: Path):
@@ -43,8 +41,6 @@ def test_should_download_twistcli_again(tmp_path: Path):
# then
assert scanner.should_download()
- # cleaning mock file
- twistcli_path.unlink()
def test_cleanup_twistcli_exists(tmp_path: Path):
