kopia lustrzana https://gitlab.com/marnanel/chapeau
changed location of test_settings
rodzic
1c09eb1d5d
commit
90e218b54e
|
@ -7,7 +7,7 @@ from django.conf import settings
|
|||
from django.test.utils import get_runner
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.test_settings'
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'test_settings'
|
||||
django.setup()
|
||||
TestRunner = get_runner(settings)
|
||||
test_runner = TestRunner()
|
||||
|
|
Ładowanie…
Reference in New Issue