FIXUP: return type for mypy

This commit is contained in:
Alexis Métaireau 2025-03-28 14:24:30 +01:00
parent 2a29cf7c27
commit 6c8a75732e
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -49,7 +49,7 @@ def test_get_runtime_name_non_linux(mocker: MockerFixture, tmp_path: Path) -> No
assert Runtime().name == "docker" assert Runtime().name == "docker"
def test_get_unsupported_runtime_name(mocker: MockerFixture, tmp_path: Path): def test_get_unsupported_runtime_name(mocker: MockerFixture, tmp_path: Path) -> None:
mocker.patch("dangerzone.settings.get_config_dir", return_value=tmp_path) mocker.patch("dangerzone.settings.get_config_dir", return_value=tmp_path)
settings = Settings() settings = Settings()
settings.set( settings.set(