holger krekel
|
9ca049051c
|
fix and streamline a little
|
2023-11-10 16:46:40 +01:00 |
|
Sebastian Klähn
|
790509676f
|
fix: remove unused --liveconfig option
close #4892
|
2023-11-10 16:46:40 +01:00 |
|
link2xt
|
4e21917c0e
|
feat: enable sync messages by default
|
2023-11-05 21:11:47 +00:00 |
|
link2xt
|
6aae0276da
|
test: use instant accounts instead of mailadm
|
2023-10-30 00:15:22 +00:00 |
|
link2xt
|
532e9cb09a
|
refactor: ignore public key argument in dc_preconfigure_keypair()
Public key can be extracted from the secret key file.
|
2023-09-30 19:16:23 +00:00 |
|
link2xt
|
740f43a2d6
|
fix: do not resync IMAP after initial configuration
If there was no previous `configured_addr`,
then there is no need to run IMAP resync.
|
2023-07-17 16:38:09 +00:00 |
|
link2xt
|
88759c815b
|
refactor(python): flatten the API of deltachat module
|
2023-07-03 16:19:31 +00:00 |
|
link2xt
|
b2993242e4
|
docs(python): document pytest fixtures
These docstrings are displayed by `pytest --fixtures`
when `deltachat` package is installed from PyPI.
|
2023-06-05 18:34:27 +00:00 |
|
iequidoo
|
0a2200c2c8
|
python: Wait for initial Resync in the bot tests
|
2023-03-31 17:15:02 -03:00 |
|
link2xt
|
7e5a8714a0
|
Add scripts/codespell.sh and spellcheck
|
2023-03-03 18:40:36 +00:00 |
|
link2xt
|
d1d43e889a
|
python: add more type annotations
|
2023-02-27 13:07:35 +00:00 |
|
link2xt
|
48fee4fc92
|
python: replace "while 1" with "while True"
This makes pyright recognize that the function never returns implicitly.
|
2023-02-18 11:31:07 +00:00 |
|
link2xt
|
6ee165fddc
|
python: type annotations for testplugin.py
|
2023-02-16 17:48:29 +00:00 |
|
link2xt
|
cd3f1fe874
|
python: autoformat with black
|
2023-02-15 17:15:43 +00:00 |
|
link2xt
|
01653a881a
|
python: do not import print function
|
2023-02-15 16:28:16 +00:00 |
|
link2xt
|
817760a6ef
|
python: upgrade from .format() to f-strings
They are supported since Python 3.5.
|
2023-02-08 15:44:34 +00:00 |
|
link2xt
|
fac7b064b4
|
Refine Python CI
Add lint environment to `deltachat-rpc-client/`
and set line length to 120, same as in `python/`.
Switch from flake8 to ruff.
Fix ruff warnings.
|
2023-01-20 16:53:21 +00:00 |
|
link2xt
|
f4c674fa98
|
python: set reasonable timeouts for account requests
`requests` library does not have a timeout at all by default.
|
2023-01-06 11:43:55 +00:00 |
|
link2xt
|
839021f9eb
|
python: enable certificate checks in cloned accounts
|
2022-08-15 14:40:33 +00:00 |
|
link2xt
|
b88042a902
|
python: display configuration failure error
When configure fails, display error comment in pytest failure message.
|
2022-06-20 12:39:39 +00:00 |
|
adbenitez
|
a96a4362cd
|
add missing Message API
|
2022-06-10 07:57:17 -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
|
16e0f0e986
|
apply isort and black formatters, add format checking to CI
|
2022-05-29 21:11:49 -04: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
|
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
|
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
|
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 |
|