mirror of
https://github.com/chatmail/relay.git
synced 2026-05-15 10:24:40 +00:00
rename mailname to mail_domain everywhere
This commit is contained in:
@@ -52,7 +52,7 @@ def chatmail_config(pytestconfig):
|
||||
|
||||
@pytest.fixture
|
||||
def maildomain(chatmail_config):
|
||||
return chatmail_config.mailname
|
||||
return chatmail_config.mail_domain
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
@@ -25,7 +25,7 @@ class TestCmdline:
|
||||
main(["init", "chat.example.org"])
|
||||
inipath = tmp_path.joinpath("chatmail.ini")
|
||||
config = read_config(inipath)
|
||||
assert config.mailname == "chat.example.org"
|
||||
assert config.mail_domain == "chat.example.org"
|
||||
|
||||
def test_init_not_overwrite(self):
|
||||
main(["init", "chat.example.org"])
|
||||
|
||||
Reference in New Issue
Block a user