mirror of
https://github.com/chatmail/relay.git
synced 2026-05-16 03:24:48 +00:00
remove superflous check in tests
This commit is contained in:
@@ -11,8 +11,7 @@ from chatmaild.metadata import (
|
|||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def notifier(tmp_path):
|
def notifier(tmp_path):
|
||||||
metadata_dir = tmp_path.joinpath("metadata")
|
metadata_dir = tmp_path.joinpath("metadata")
|
||||||
if not metadata_dir.exists():
|
metadata_dir.mkdir()
|
||||||
metadata_dir.mkdir()
|
|
||||||
return Notifier(metadata_dir)
|
return Notifier(metadata_dir)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user