mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 02:09:17 +02:00
- make set_config() more like the c-version but make configure() accept **kwargs
- some safety checks: you can't modify addr after successful configure
This commit is contained in:
parent
bea807f012
commit
da78552622
3 changed files with 41 additions and 15 deletions
|
@ -125,6 +125,10 @@ class TestOnlineAccount:
|
|||
self.wait_configuration_progress(ac1, 1000)
|
||||
assert ac1.get_config("mail_pw")
|
||||
assert ac1.is_configured()
|
||||
with pytest.raises(ValueError):
|
||||
ac1.set_config("addr", "123@example.org")
|
||||
with pytest.raises(ValueError):
|
||||
ac1.configure(addr="123@example.org")
|
||||
|
||||
def test_forward_messages(self, acfactory):
|
||||
ac1 = acfactory.get_live_account()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue