Closed OlegGirko closed 9 years ago
Django 1.7 has deprecated django.test.simple.DjangoTestSuiteRunner, so django.test.runner.DiscoverRunner should be used instead. Also, django.setup() should be called before running tests.
django.test.simple.DjangoTestSuiteRunner
django.test.runner.DiscoverRunner
django.setup()
Django 1.7 has deprecated
django.test.simple.DjangoTestSuiteRunner
, sodjango.test.runner.DiscoverRunner
should be used instead. Also,django.setup()
should be called before running tests.