1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

Fix test in tox

This commit is contained in:
Adam Dobrawy 2017-07-09 21:47:05 +02:00
parent 62b8f75bb2
commit 48393250f7
3 changed files with 12 additions and 11 deletions

10
manage.py Normal file
View file

@ -0,0 +1,10 @@
import sys
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_mailbox.tests.settings'
from django.core import management
if len(sys.argv) > 1 and sys.argv[1] == 'test':
management.execute_from_command_line()
sys.exit()