Commit Graph

28 Commits

Author SHA1 Message Date
missytake
bf80710e80 tests: add rate limit tests 2023-10-17 20:06:21 +02:00
missytake
4f5b40205d test: try to forge FROM addresses 2023-10-17 20:06:21 +02:00
link2xt
179c79a052 Allow to send securejoin 2023-10-16 21:15:56 +00:00
missytake
192238567b add some initial benchmarks
Co-Authored-By: holger krekel <holger@merlinux.eu>
2023-10-16 21:51:53 +02:00
holger krekel
1bac4b5b46 generalize remotelog to "remote" and offer remote.iter_output method 2023-10-16 20:49:30 +02:00
holger krekel
63a7ad82ff fix capturing of logging to capture postfix better 2023-10-16 20:49:30 +02:00
holger krekel
37ef3f13b4 fix bugs 2023-10-16 20:49:30 +02:00
holger krekel
9dfd0ceb5a simplify and speedup multi-chatmail instance support 2023-10-16 20:49:30 +02:00
holger krekel
55c58e3c7a add support for using a second chatmail server 2023-10-16 20:49:30 +02:00
holger krekel
c2692c7e92 introduce remotelog fixture for capturing systemd-unit logs 2023-10-16 20:49:30 +02:00
holger krekel
b943f24587 apply nami's suggestions (chatmail SSH env var, running --slow in test.sh) 2023-10-16 17:52:08 +02:00
holger krekel
df00333a19 also show the chatmail instance prominently in the test header 2023-10-16 17:52:08 +02:00
holger krekel
4fc63461fb - introduce pytest.mark.slow marker and "--slow" CLI option
- refactor login tests to allow running them against both imap/smtp
2023-10-16 17:52:08 +02:00
holger krekel
00af333694 test works by logging into remote machine and checking the dovecot quota log 2023-10-16 15:19:29 +02:00
holger krekel
c9fd133942 improved test but still not doing what it should 2023-10-16 15:19:29 +02:00
holger krekel
caed6a3754 some fixes but still not quite running through 2023-10-16 15:19:29 +02:00
holger krekel
f71d372491 add a quota test (inspired by nami's #21 ) and try to get postfix/dovecot to implement the limit and the test to pass (it doesn't yet) 2023-10-16 15:19:29 +02:00
link2xt
9b438a7a96 Test different users logging in with the same password 2023-10-15 21:42:14 +00:00
link2xt
a107fb3cca Avoid reusing accounts between tests
Add time as a prefix.
2023-10-15 21:42:14 +00:00
holger krekel
802f67cf54 fix formatting 2023-10-14 14:34:27 +02:00
holger krekel
a1e82a9969 some renaming and adding a pytest.ini 2023-10-14 14:34:12 +02:00
holger krekel
369a0f8783 add basic delta chat tests 2023-10-14 14:32:22 +02:00
holger krekel
33000e18c0 fix/merge test files 2023-10-14 14:32:22 +02:00
holger krekel
397eed65a7 merge accidental test files 2023-10-14 14:32:22 +02:00
holger krekel
c8b593f5e2 let mail connection setting come from CHATMAIL_DOMAIN env 2023-10-14 14:32:22 +02:00
holger krekel
6003c9294d add tests 2023-10-14 14:32:22 +02:00
holger krekel
1742ee07c8 add smtp tests and fix scripts 2023-10-14 14:32:22 +02:00
holger krekel
5cd54026a8 refactor dovecot tests, move online tests one level up 2023-10-14 14:32:22 +02:00