diff --git a/common/lib/conftest.py b/common/lib/conftest.py index 7bd2d497ca..03bd8596e5 100644 --- a/common/lib/conftest.py +++ b/common/lib/conftest.py @@ -1,4 +1,4 @@ -"""Code run by pylint before running any tests.""" +"""Code run by pylint before running any tests.""" # lint-amnesty, pylint: disable=django-not-configured # Patch the xml libs before anything else. @@ -13,7 +13,7 @@ defuse_xml_libs() @pytest.fixture(autouse=True) -def no_webpack_loader(monkeypatch): +def no_webpack_loader(monkeypatch): # lint-amnesty, pylint: disable=missing-function-docstring monkeypatch.setattr( "webpack_loader.templatetags.webpack_loader.render_bundle", lambda entry, extension=None, config='DEFAULT', attrs='': '' diff --git a/common/lib/pytest.ini b/common/lib/pytest.ini index 93c230eab2..d166a11965 100644 --- a/common/lib/pytest.ini +++ b/common/lib/pytest.ini @@ -1,6 +1,6 @@ [pytest] DJANGO_SETTINGS_MODULE = openedx.tests.settings -addopts = --nomigrations --reuse-db --durations=20 --json-report --json-report-omit keywords streams collectors log traceback tests --json-report-file=none +addopts = --nomigrations --reuse-db --durations=20 --json-report --json-report-omit keywords streams collectors log traceback tests --json-report-file=none # lint-amnesty, pylint: disable=syntax-error # Enable default handling for all warnings, including those that are ignored by default; # but hide rate-limit warnings (because we deliberately don't throttle test user logins) # and field_data deprecation warnings (because fixing them requires a major low-priority refactoring)