Prevent test manual import for Django 1.6+. No impact on Django 1.7/1.8, duplicating all test runs in Django 1.6

This commit is contained in:
romgar 2016-11-24 21:31:55 +00:00
parent 2a9c199819
commit eb41dc0ea0

View file

@ -1,6 +1,9 @@
import django
# Needed for Django 1.4/1.5 test runner
from .test_fields import *
from .test_managers import *
from .test_models import *
from .test_choices import *
from .test_miscellaneous import *
if django.VERSION < (1, 6):
from .test_fields import *
from .test_managers import *
from .test_models import *
from .test_choices import *
from .test_miscellaneous import *