1
1
Fork 0
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-06-01 23:06:05 +02:00
docker-mailserver/target/bin
Brennan Kinney 5908d9f060
tests(refactor): Dovecot quotas (#3068)
* chore: Extract out Dovecot Quota test cases into new test file

Test cases are just cut + paste, no logic changed there yet.

* chore: Rename test case descriptions

* chore: Use `setup ...` methods instead of direct calls

* chore: Adjust `_run_in_container_bash` to `_run_in_container`

Plus some additional bug fixes in the disabled test case

* tests(refactor): Revise ENV test cases for max mailbox and message sizes

* tests(refactor): Revise ENV test cases for mailbox and message limits v2

Removes the extra variables and filtering in favour of explicit values instead of matching for comparison.

- Easier at a glance to know what is actually expected.
- Additionally reworks the quota limit checks in other test cases. Using a different formatter for `doveadm` is easier to match the desired value (`Limit`).

* chore: Sync improvement from `tests.bats` master

---

NOTE: This PR has been merged to avoid additional maintenance burden without losing the improvements. It was not considered complete, but remaining tasks were not documented in the PR.
2023-12-19 14:33:38 +13:00
..
acme_extract.py acme_extract -> acme_extract.py + F_BIN to avoid .py 2022-03-06 22:17:29 -05:00
addalias docs(bin/setup): Add an example for an alias with multiple recipients (#3600) 2023-10-26 13:22:36 +13:00
adddovecotmasteruser Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
addmailuser Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
addrelayhost Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
addsaslpassword Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
debug-fetchmail scripts: housekeeping & cleanup setup (2/2) (#3123) 2023-02-28 10:25:23 +01:00
debug-getmail Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
delalias Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
deldovecotmasteruser Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
delmailuser Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
delquota Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
excluderelaydomain Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
fail2ban feat(setup): Add `fail2ban` sub-command `status <JAIL>` (#3455) 2023-08-02 12:09:01 +12:00
getmail-cron Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
listalias Change 'while' style (#3365) 2023-05-26 01:39:39 +02:00
listdovecotmasteruser Change 'while' style (#3365) 2023-05-26 01:39:39 +02:00
listmailuser Change 'while' style (#3365) 2023-05-26 01:39:39 +02:00
open-dkim ci(fix): Normalize for `.gitattributes` + improve `eclint` coverage (#3566) 2023-10-04 12:53:32 +02:00
postfix-summary change if style (#3361) 2023-05-24 09:06:59 +02:00
print-environment Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
quota-warning Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
report-pflogsumm-yesterday Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
restrict-access change if style (#3361) 2023-05-24 09:06:59 +02:00
rspamd-dkim Rspamd: add check for DKIM private key files' permissions (#3627) 2023-11-13 12:34:46 +01:00
sedfile change if style (#3361) 2023-05-24 09:06:59 +02:00
setquota tests(refactor): Dovecot quotas (#3068) 2023-12-19 14:33:38 +13:00
setup feat(setup): Add `fail2ban` sub-command `status <JAIL>` (#3455) 2023-08-02 12:09:01 +12:00
updatedovecotmasteruser Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
updatemailuser Change 'function' style (#3364) 2023-05-26 01:01:41 +02:00
virus-wiper Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00