test: save pytest warning reports to GHA artifacts

- add pytest_hooks import back in common/lib/conftest.py. This import was removed during refactoring work
This commit is contained in:
Soban Javed
2021-12-07 17:44:52 +05:00
parent cf64f0e198
commit b4ac8d284a
3 changed files with 48 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ import pytest
from safe_lxml import defuse_xml_libs
# This import is needed for pytest plugin configuration, so please avoid deleting this during refactoring
from openedx.core.pytest_hooks import pytest_configure # pylint: disable=unused-import
defuse_xml_libs()