remove superflous check in tests

This commit is contained in:
holger krekel
2024-03-20 17:58:59 +01:00
parent e466a03055
commit 63d3e05674

View File

@@ -11,8 +11,7 @@ from chatmaild.metadata import (
@pytest.fixture
def notifier(tmp_path):
metadata_dir = tmp_path.joinpath("metadata")
if not metadata_dir.exists():
metadata_dir.mkdir()
metadata_dir.mkdir()
return Notifier(metadata_dir)