Repository navigation
Some general Python test improvements - #2316
Conversation
93cb37d to
06dd73f
Compare
This comment has been minimized.
This comment has been minimized.
06dd73f to
1e38218
Compare
1e38218 to
4fe0607
Compare
4fe0607 to
abb1bb9
Compare
The db file is smaller now, so, add another big file in order to get a smooth progress
| original_image_path = data.get_path("d.png") | ||
| chat1.send_image(original_image_path) | ||
|
|
||
| path = tmpdir.join("attachment.txt") |
There was a problem hiding this comment.
Add a comment that this ensures import progress is smooth enough?
By the way export progress is currently based on file count rather than file sizes. Maybe makes sense to change this, or is reading file sizes before start of export expensive?
There was a problem hiding this comment.
By the way export progress is currently based on file count rather than file sizes. Maybe makes sense to change this, or is reading file sizes before start of export expensive?
I don't know, never tried this out. Although it doesn't seem to be that important to me from a user perspective (esp. if there are tens/hundreds of files, like usual in production).
What is a bit annoying is that the progress is stuck quite some time during the beginning of the export because the large SQL file is exported. Maybe we should just export the sql file at the end instead of at the beginning.
085622a to
645e511
Compare
This PR originally contained a fix for sqlx which turned out not not to be necessary. But on the way, I made some general improvements:
(The problem was: if there is an exception in dc_account_extra_configure(), when trying to handle the exception the line account.log("===================", e, "===================") was called, which can't work as log() only expects one parameter)
dump_account_info()even if there is no direct_imap