link2xt
|
becbb03d80
|
python: don't use devnull@testrun.org in test_add_remove_member_remote_events()
Otherwise testrun.org refuses to send the message at all,
because it knows devnull@testrun.org does not exist,
and the message doesn't reach ac2.
|
2022-06-19 17:09:02 +00:00 |
|
link2xt
|
bc604d4c24
|
Do not rerun python and node tests, exit on failure
|
2022-06-18 01:38:31 +00:00 |
|
link2xt
|
8a4e07c83e
|
Replace Freenode references with Libera Chat
|
2022-06-12 19:09:29 +00:00 |
|
link2xt
|
e993b37f1e
|
python: autoformat setup.py and install_python_bindings.py
|
2022-06-11 15:35:30 +00:00 |
|
adbenitez
|
a96a4362cd
|
add missing Message API
|
2022-06-10 07:57:17 -04:00 |
|
Asiel Díaz Benítez
|
1fb6d1b59d
|
Merge pull request #3412 from deltachat/adb/allow-comparing-with-none
avoid exceptions when messages/contacts/chats are compared with None
|
2022-06-10 03:21:41 -04:00 |
|
adbenitez
|
f94d7d9ea5
|
add tests
|
2022-06-10 02:30:37 -04:00 |
|
adbenitez
|
521d14a6e0
|
avoid exceptions when messages/contacts/chats are compared with None
|
2022-06-09 05:00:02 -04:00 |
|
adbenitez
|
e334b781fb
|
move isort configuration to pyproject.toml instead of passing it in command line usage in tox.ini, this allows isort usage with editors to pick the right configuration without manually tweaking it in the editors
|
2022-06-09 04:24:28 -04:00 |
|
Asiel Díaz Benítez
|
4f02c811a3
|
update python API (#3394)
|
2022-06-04 18:12:38 +02:00 |
|
adbenitez
|
17aab01eaa
|
apply black with new line-length == 120
|
2022-05-31 23:05:20 -04:00 |
|
adbenitez
|
d3e6cc5acb
|
set black.line-length to 120
|
2022-05-31 23:02:51 -04:00 |
|
adbenitez
|
723d1828ec
|
configure flake8 to be compatible with black
|
2022-05-31 05:29:35 -04:00 |
|
adbenitez
|
16e0f0e986
|
apply isort and black formatters, add format checking to CI
|
2022-05-29 21:11:49 -04:00 |
|
link2xt
|
1d522edb01
|
python: fix Chat.is_group() documentation
False is returned not only for 1:1 chat, but also in
other cases, such as mailing lists.
|
2022-05-23 11:56:56 +02:00 |
|
link2xt
|
b7d2828f60
|
Trim last newline in the chat encryption info
Android seems to display it, making the message box larger.
|
2022-05-21 17:03:48 +00:00 |
|
link2xt
|
8168bcece5
|
Improve Chat.get_encryption_info() format
Group contacts by peerstate and make it easier
to find contacts that prevent encryption by sorting them
to the top of the list.
|
2022-05-14 14:01:46 +02:00 |
|
holger krekel
|
cffa101419
|
remove usage of py in favor of pathlib
|
2022-05-09 21:22:19 +02:00 |
|
holger krekel
|
1d7d201b5b
|
remove a log line and a return
|
2022-05-09 21:22:19 +02:00 |
|
holger krekel
|
c0e4e12138
|
Introduce caching of configured live accounts in each test process
|
2022-05-09 21:22:19 +02:00 |
|
holger krekel
|
c8bfa98b6b
|
actually enable online account caching. previously it was creating (>100) online test accounts
|
2022-05-05 16:18:59 +02:00 |
|
holger krekel
|
32a9db6922
|
fix flaky test to not rely on timing
|
2022-05-04 13:29:08 +02:00 |
|
holger krekel
|
77498c17a5
|
reorder tests to provide a complex/offline/online distinction, also speeding up distributed test runs.
|
2022-05-04 13:17:08 +02:00 |
|
holger krekel
|
54c07f89f2
|
also guard the ac_process_ffi_event calling
|
2022-05-04 12:08:47 +02:00 |
|
holger krekel
|
cd4d265055
|
safer handling of calling account hooks, refined shutdown comment
|
2022-05-04 12:08:47 +02:00 |
|
holger krekel
|
81ee69010d
|
add a comment, fix a typo in debug message
|
2022-05-04 12:08:47 +02:00 |
|
holger krekel
|
138d5b7a02
|
fix segfaults with python runs -- i don't get them anymore, and can also control-c at will
|
2022-05-04 12:08:47 +02:00 |
|
holger krekel
|
ca59cbc898
|
make direct_imap idle usage safe from tests, so we never miss finishing direct_imap idle
|
2022-05-03 22:56:23 +02:00 |
|
holger krekel
|
21f72ad845
|
new --debug-setup option to show events during account setup.
|
2022-05-03 22:50:16 +02:00 |
|
holger krekel
|
40fd98d580
|
show logs for pseudo configured accounts (for online ones they are instantiated later)
|
2022-05-03 22:50:16 +02:00 |
|
holger krekel
|
0422d751d8
|
avoid instatiating a full blown Account object just for showing some core info
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
e44f68db83
|
prevent one strange traceback probably caused by ongoing shutdown
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
88cbf42c39
|
fix various tests
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
45157f79a3
|
fix examples
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
f5157392b6
|
some renaming and some docstrings
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
f631ec3a7c
|
shift startio/init machinery into PendingConfigure class
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
a9b2750ec9
|
slight renamings
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
7fbdb42695
|
remove _configtracker and write a tested "PendingConfigure" helper class for managing configure/started states for test accounts
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
026dd4480e
|
add --extra-info CLI option (defaults to False for interactive runs)
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
b373e7acba
|
more renames
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
d2ca54c167
|
provide for meaningful names for bringing accounts online for test functions
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
e070284a09
|
strike setting "displayname" in test plugin and refine two tests which implicitely relied on this
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
e4e02ea3c0
|
improve error messages during live creation of accounts
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
a947980eb6
|
slight reorg for creating accounts from liveconfig
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
f11c3dd3e3
|
fix bench test
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
394067be63
|
refactor session_liveconfig_producer to become a more geneal testprocess management object
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
2494613583
|
- perform direct_imap init in testplugin instead of global deltachat
plugin, probably also helping to avoid some segfeaults during teardown
- some API renaming on the side (too hard to split into separate commit, sorry)
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
77c60e7450
|
refine test support function name
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
04dd2d93d0
|
trim online account creation to a single get_online_accounts() function
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
5e5710ecce
|
streamline configuration handling for test accounts, removing one layer of flags
|
2022-05-03 19:35:03 +02:00 |
|