Add trick to make tests pass on Django 1.11 too.

This commit is contained in:
Emil Stenström 2020-12-08 23:33:36 +01:00
parent ec7b10f4db
commit e9fba9538f
3 changed files with 9 additions and 3 deletions

View file

@ -1,10 +1,9 @@
from textwrap import dedent
from django.test import SimpleTestCase
from django_components import component
from .django_test_setup import * # NOQA
from .testutils import Django111CompatibleSimpleTestCase as SimpleTestCase
class ComponentRegistryTest(SimpleTestCase):