stable/tests/plugins
cdimauro 6509c38717 Introduce new test functions to check logs
New functions log_contains, num_log_contains, num_log_has and num_log_has_re
are introduced in the conftest module to help and simplify checking:
- if logs contain a string;
- count how many messages contain a string;
- count how many messages are the given string;
- count how many messages matchs a regex.

A couple of existing tests are changed using the new functions.
2021-12-26 09:49:14 +01:00
..
__init__.py Rename test directory for pairlist 2020-12-07 08:23:10 +01:00
test_pairlist.py Introduce new test functions to check logs 2021-12-26 09:49:14 +01:00
test_pairlocks.py Add tests and documentation for unlock_reason 2021-10-30 09:51:09 +02:00
test_protections.py ProtectionManager should return the lock just created 2021-09-19 19:41:19 +02:00