mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 20:38:05 +00:00
tests: mark test as xfail until we can test for CLI output
This commit is contained in:
@@ -27,6 +27,7 @@ class TestCmdline:
|
|||||||
config = read_config(inipath)
|
config = read_config(inipath)
|
||||||
assert config.mail_domain == "chat.example.org"
|
assert config.mail_domain == "chat.example.org"
|
||||||
|
|
||||||
|
@pytest.mark.xfail(reason="init doesn't exit anymore, check for CLI output instead")
|
||||||
def test_init_not_overwrite(self):
|
def test_init_not_overwrite(self):
|
||||||
main(["init", "chat.example.org"])
|
main(["init", "chat.example.org"])
|
||||||
with pytest.raises(SystemExit):
|
with pytest.raises(SystemExit):
|
||||||
|
|||||||
Reference in New Issue
Block a user