fix(tests): use working dir via fixture instead of cluttering cwd

This commit is contained in:
Levente Polyak 2021-11-07 22:51:33 +01:00
parent ddf19a4362
commit 0456e9a5f8
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8

View File

@ -37,6 +37,7 @@ from .conftest import test_main_fingerprints
def test_certificate_trust_from_paths( def test_certificate_trust_from_paths(
certificate_trust_mock: Mock, certificate_trust_mock: Mock,
sources: List[Path], sources: List[Path],
working_dir: Path,
) -> None: ) -> None:
certificate_trust_mock.return_value = Trust.full certificate_trust_mock.return_value = Trust.full
for source in sources: for source in sources: