Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: eee5af6a019ffb93f924c68f2d7b00a29a303bb7
https://github.com/tribe29/checkmk/commit/eee5af6a019ffb93f924c68f2d7b00a29…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M tests/unit/conftest.py
Log Message:
-----------
Improve pytest initialization time
The import of MockLiveStatusConnection makes the conftest.py load nearly the whole
GUI code. This takes some initialization overhead when running just a specific
subset of tests. We want to have a fast initialization. Quick fix: local import.
In general it is also a good idea to keep the number of dependencies low in the
conftest files.
Change-Id: I43dc63adb0c6deb600305c726e2504a24565d60e