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:
parent
62b8f75bb2
commit
48393250f7
3 changed files with 12 additions and 11 deletions
10
manage.py
Normal file
10
manage.py
Normal 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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue