mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 05:56:31 +03:00
fix(peerstate): encryption-not-available
Add a test for failing e2e encryption and some info statement to hunt where the e2e encryption failure comes from, as well as fix the issue. Closes #233
This commit is contained in:
committed by
Friedel Ziegelmayer
parent
4d8d5f4e1e
commit
be605d8ea5
@@ -120,6 +120,8 @@ def acfactory(pytestconfig, tmpdir, request):
|
||||
pytest.skip("specify a --liveconfig file to run tests with real accounts")
|
||||
self.live_count += 1
|
||||
configdict = self.configlist.pop(0)
|
||||
if "e2ee_enabled" not in configdict:
|
||||
configdict["e2ee_enabled"] = "1"
|
||||
tmpdb = tmpdir.join("livedb%d" % self.live_count)
|
||||
ac = Account(tmpdb.strpath, logid="ac{}".format(self.live_count))
|
||||
ac._evlogger.init_time = self.init_time
|
||||
|
||||
Reference in New Issue
Block a user