You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roman Donchenko 0ea14d23a8
Python tests: skip the session hooks if --collect-only is used (#5550)
Turns out that #5456 had a nasty side effect. Session hooks are called
when pytest is run with `--collect-only` (even though no tests are
actually run in this case), and Visual Studio Code periodically runs
`pytest --collect-only` in order to learn what tests exist in the
project. As a result, it keeps restarting the services and restoring the
database in the background.

Work around this by skipping all logic in the hooks if `--collect-only`
is in the options.
3 years ago
..
__init__.py Add 2nd layer of SDK (#19) 4 years ago
data.py Better reporting for user limits (#5225) 3 years ago
init.py Python tests: skip the session hooks if --collect-only is used (#5550) 3 years ago
util.py Autoformat python tests (#5021) 3 years ago