mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
remove superflous check in tests
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user