mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
test(deltachat-rpc-client): log all events as debug messages
This is necessary to debug the tests.
This commit is contained in:
@@ -132,7 +132,9 @@ class Rpc:
|
||||
event = self.get_next_event()
|
||||
account_id = event["contextId"]
|
||||
queue = self.get_queue(account_id)
|
||||
queue.put(event["event"])
|
||||
event = event["event"]
|
||||
logging.debug("account_id=%d got an event %s", account_id, event)
|
||||
queue.put(event)
|
||||
except Exception:
|
||||
# Log an exception if the event loop dies.
|
||||
logging.exception("Exception in the event loop")
|
||||
|
||||
@@ -30,4 +30,4 @@ commands =
|
||||
[pytest]
|
||||
timeout = 300
|
||||
log_cli = true
|
||||
log_level = info
|
||||
log_level = debug
|
||||
|
||||
Reference in New Issue
Block a user