Commit Graph

39 Commits

Author SHA1 Message Date
Alexander Krotov 63dd3c91e1 python tests: do not enable strict certificate checks by default
Since introduction of provider database, these certificate checks are
enabled for test servers anyway, but this setting prevents usage of
local servers with self-signed certificates.
2020-07-28 01:40:35 +02:00
holger krekel ccebca5f99 fix python timeout settings 2020-07-16 11:55:51 +02:00
holger krekel e07869ae95 improve debugging 2020-07-16 11:55:51 +02:00
Alexander Krotov 49a6a5b23c testplugin.py: print HTTP response text on error 2020-07-12 22:58:57 +03:00
holger krekel 07236efc45 fix bcc_self to remain "0" for testrun/fivechat test accounts 2020-06-23 08:06:32 +02:00
Alexander Krotov dad6381519 run_bot_process: remove account from _accounts before starting the bot
Otherwise wait_configure_and_start_io() will start account, and it will
operate on the same database as the bot.
2020-06-13 06:36:07 +02:00
holger krekel e7dd74e4b1 simplify configure() and don't keep state on the account in non-test mode 2020-06-10 12:47:49 +02:00
holger krekel 0efb2215e4 renamings and parallel sending 2020-06-09 14:39:00 +02:00
holger krekel f93a863f5f fix and steamline tests and test setup 2020-06-09 14:39:00 +02:00
holger krekel f263843c5f route all flexible contact add/remove through account.as_contact(obj) 2020-06-09 14:39:00 +02:00
holger krekel 503202376a remove logid from Account creation, one can now just use the "displayname" for log purposes 2020-06-09 14:39:00 +02:00
holger krekel 7d5fba8416 refine contact API and introduce account.create_chat() helper
strike create_chat_by_contact in favor of contact.create_chat()
2020-06-09 14:39:00 +02:00
holger krekel 3a85b671a1 remove acfactory.get_chat() in favour of account.create_chat(account2) directly working. 2020-06-09 14:39:00 +02:00
holger krekel 4fdf496cac refine one more test to "newstyle" 2020-06-08 16:31:21 +02:00
holger krekel 0105c831f1 make direct_imap a permanent feature of online accounts 2020-06-08 16:31:21 +02:00
holger krekel d40f96ac65 fixing imap interactions 2020-06-08 16:31:21 +02:00
holger krekel 69135709ac more refines and test fixes 2020-06-08 16:31:21 +02:00
holger krekel 612a9d012c snap using imapclient 2020-06-08 16:31:21 +02:00
holger krekel 7a5759de4b some streamlining and test fixing 2020-06-05 23:28:27 +02:00
holger krekel 469451d5dd rework imap structure logging 2020-06-05 23:28:27 +02:00
holger krekel af33c2dea7 test pass again 2020-06-05 23:28:27 +02:00
holger krekel e66ed8eadb shift tests away a little, mark "ignored" for regular pytest runs 2020-06-05 21:59:33 +02:00
Hocuri 05e1c00cd1 fix: update message ids correctly
Fixes #1495
2020-06-05 16:27:22 +02:00
holger krekel d9de33820f add a stress test 2020-05-24 21:25:13 +02:00
holger krekel e55dc2213a fix python lifecycles so that termination works 2020-05-23 10:17:56 +02:00
dignifiedquire 7b10ec26a3 improve connection management 2020-05-21 15:38:04 +02:00
holger krekel ad522cd798 simplify and speedup configuration handling
refactor conftest.py away
2020-05-20 22:15:27 +02:00
holger krekel 2f09bb468e fix configure_canceled test 2020-05-20 19:10:36 +02:00
holger krekel 0ec5b8d6dd fix --ignored handling 2020-05-20 18:10:13 +02:00
holger krekel 4855584de9 rename eventlogger to events 2020-05-20 16:37:27 +02:00
holger krekel 598dc86ca5 make sure we don't garble output during test runs by more carefully
switching logging on/off globally
2020-05-15 21:19:57 +02:00
holger krekel 02cda1e611 refine member/add remove further, and introduce ac_outgoing_message 2020-04-19 21:00:55 +02:00
holger krekel a1c82eaea6 refine bot testing and ac_member* handling 2020-04-19 21:00:55 +02:00
holger krekel 7e1470ea46 refactor preconfigure handling to not break deltabot's usage of deltachat's test fixtures and
relax timestamp comparisons
2020-04-13 17:39:31 +02:00
holger krekel 2a34022619 refine example doc and address https://github.com/deltachat/deltachat-core-rust/pull/1307#pullrequestreview-380876587 2020-04-13 17:39:31 +02:00
holger krekel 57f879a6ba fix buffer handling so that the group-tracking bot example passes 2020-04-13 17:39:31 +02:00
holger krekel d4ba09c753 refactor bot-setup and testing into a helper function 2020-04-13 17:39:31 +02:00
holger krekel 91cdc76414 refactor docs and ffi/high level event handling to pass all tests again 2020-04-13 17:39:31 +02:00
holger krekel 6a6a719ab6 shift pytest support code into deltachat package so deltabot can make use of the test infrastructure 2020-04-13 17:39:31 +02:00