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

convert migrations to work with Django 1.7, add Django 1.7.1 to travis test matrix

This commit is contained in:
Patrick Craston 2014-11-07 16:56:24 +00:00
parent ecc8ac8bcc
commit 2d82c00c5b
22 changed files with 139 additions and 68 deletions

View file

@ -3,6 +3,7 @@ import sys
from os.path import dirname, abspath
from django import setup
from django.conf import settings
if not settings.configured:
@ -27,6 +28,8 @@ def runtests(*test_args):
test_args = ['django_mailbox']
parent = dirname(abspath(__file__))
sys.path.insert(0, parent)
# ensure that AppRegistry has loaded
setup()
runner = DjangoTestSuiteRunner(
verbosity=1,
interactive=False,