Skip to content

Commit

Permalink
Un-truncate test failure diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Jun 10, 2019
1 parent 9257f68 commit de8e158
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
Default unit test configuration and fixtures.
"""
from __future__ import absolute_import, unicode_literals
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


@pytest.fixture(autouse=True)
def no_webpack_loader(monkeypatch):
Expand Down

0 comments on commit de8e158

Please sign in to comment.