This was added in a newer version of django-webpack loader to be used in CI. Previously we had some monkey patches to deal with this but they could break when changes happen to the upstream django-webpack-loader library. This should be a more robust solution to keep CI working and to reduce complexity on future upgrades.
18 lines
487 B
Python
18 lines
487 B
Python
""" # lint-amnesty, pylint: disable=django-not-configured
|
|
Default unit test configuration and fixtures.
|
|
"""
|
|
|
|
from unittest import TestCase
|
|
|
|
import pytest
|
|
|
|
# Import hooks and fixture overrides from the cms package to
|
|
# avoid duplicating the implementation
|
|
|
|
from cms.conftest import _django_clear_site_cache, pytest_configure # pylint: disable=unused-import
|
|
|
|
|
|
# When using self.assertEquals, diffs are truncated. We don't want that, always
|
|
# show the whole diff.
|
|
TestCase.maxDiff = None
|