mirror of
https://github.com/chatmail/relay.git
synced 2026-05-18 20:08:21 +00:00
introduce max_message_size config option
This commit is contained in:
@@ -58,3 +58,8 @@ def test_config_userstate_paths(make_config, tmp_path):
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
config.get_user(".")
|
||||
|
||||
|
||||
def test_config_max_message_size(make_config, tmp_path):
|
||||
config = make_config("something.testrun.org", dict(max_message_size="10000"))
|
||||
assert config.max_message_size == 10000
|
||||
|
||||
Reference in New Issue
Block a user