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 |
|
holger krekel
|
c1b33a66c4
|
refactor "quiet" parameter away and provide more precise logging-control
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
0e3165d724
|
unify get_unconfigured_account and make_account
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
3e12eab0b5
|
remove make_account from get_online_config and rename the latter to get_next_liveconfig to avoid one indirection
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
87365e4a43
|
- remove superflous early set_configs to separate config / account making better
- avoid low-level dc_* API access from testplugin
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
3e16a47ff2
|
remove unnccesary distinction between offline/online accounts in make_account, simplifying api/usage
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
874054148e
|
streamline session_live_config implementation and usage
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
5e39a13bf6
|
refine waiting for initial startup waiting for "INBOX: Idle" ready
this slows down initialization for tests but provides more stability in my runs
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
720c1b5eca
|
normalize make_account usage
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
c7c1a04c6a
|
move large inlined AccountMaker (renamed to ACFactory) to proper class instead of being defined in closure
|
2022-05-03 19:35:03 +02:00 |
|
holger krekel
|
fd5b224ba0
|
simplify test setup api by removing pre_generated_keys arguments
|
2022-05-03 19:35:03 +02:00 |
|
Hocuri
|
4c9cc4f3d4
|
Hopefully make test_connectivity() less flaky
|
2022-04-30 18:07:39 +02:00 |
|
link2xt
|
48f2c4e14b
|
Correctly escape messages consisting of a dot in SMTP protocol
Actual bugfix is in the async-smtp crate.
|
2022-04-30 13:30:31 +00:00 |
|
holger krekel
|
f41df327a9
|
add a little bench file -- "pytest tests/bench_empty.py --durations=10" will tell you how much overhead there is
|
2022-04-30 13:27:02 +02:00 |
|
missytake
|
b97b374487
|
move imap_tools mypy ignore to mypy.ini
|
2022-04-29 16:01:48 +02:00 |
|
missytake
|
e27345e489
|
python bindings: ignore mypy errors for imap_tools
|
2022-04-29 15:19:48 +02:00 |
|
missytake
|
032e644b2b
|
set default timeout to None
|
2022-04-29 11:30:06 +02:00 |
|
missytake
|
d59aa35b2f
|
fix mypy errors
|
2022-04-29 11:14:19 +02:00 |
|
holger krekel
|
4c7c4e2a81
|
better document one sometimes failing test
|
2022-04-29 10:06:02 +02:00 |
|
holger krekel
|
521fa58b75
|
remove timeout
|
2022-04-29 10:00:43 +02:00 |
|
holger krekel
|
a2e5c60683
|
- remove one unncessary usage of imap idle
- simplify SEEN bytes/unicode flag issue
- fix a lint issue and a docstring
|
2022-04-29 09:42:05 +02:00 |
|
missytake
|
5ef152fd84
|
replaced imapclient python library with imap-tools in the tests. works with testrun.org locally
|
2022-04-28 16:50:36 +02:00 |
|
Robert Schütz
|
43e3f8f08b
|
python: use pkg-config for system install
|
2022-04-26 21:48:53 +02:00 |
|
holger krekel
|
3ffc985968
|
try fix a sometimes failing test: don't test python's imap idle as it's not needed. also add some more logging.
|
2022-04-26 15:28:24 +02:00 |
|
link2xt
|
d033dcf395
|
Run python tests in a single thread
Work around mailcow rate limits
|
2022-04-25 15:43:47 +02:00 |
|
link2xt
|
5ef2a85c10
|
python: do not crash in get_locations() when location has no marker
|
2022-04-25 15:05:34 +02:00 |
|
link2xt
|
8c0bc9080c
|
Create "Junk" folder in test_dont_show_emails()
This folder may not exist on the test server.
|
2022-04-24 00:20:41 +00:00 |
|
link2xt
|
2f31033a88
|
Ignore messages from all spam folders if there are many
For example, if there is both a Spam and Junk folder,
both of them should be ignored, even though only one
of them can be a ConfiguredSpamFolder.
|
2022-04-23 19:23:31 +00:00 |
|
holger krekel
|
801d636eb5
|
enhance waiting for direct imap idle events to prevent randomness
|
2022-04-20 23:32:45 +02:00 |
|
Robert Schütz
|
969508ae36
|
dynamic libraries use dylib extension on Darwin
|
2022-04-19 08:56:29 +02:00 |
|
link2xt
|
33ba8dabe0
|
Increase python test timeout
|
2022-03-27 08:48:43 +00:00 |
|