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
..
assets PostgresSQL DB v15 and health check endpoint (#5312) 3 years ago
fixtures Python tests: skip the session hooks if --collect-only is used (#5550) 3 years ago
utils Simplify upload data for task (#5498) 3 years ago