merge in stuff

This commit is contained in:
Daniel Greenfeld 2013-07-06 16:27:08 +02:00
parent 2dcc816e29
commit 8c399fadf8
2 changed files with 4 additions and 3 deletions

View file

@ -1 +1,2 @@
from test_models import *
from test_views import *

View file

@ -2,15 +2,15 @@
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'example2.settings'
exampleproject_dir = os.path.join(os.path.dirname(__file__), 'example2')
os.environ['DJANGO_SETTINGS_MODULE'] = 'example.settings'
exampleproject_dir = os.path.join(os.path.dirname(__file__), 'example')
sys.path.insert(0, exampleproject_dir)
from django.test.utils import get_runner
from django.conf import settings
def runtests(tests=('polls', 'djadmin2',)):
def runtests(tests=('blog', 'djadmin2',)):
'''
Takes a list as first argument, enumerating the apps and specific testcases
that should be executed. The syntax is the same as for what you would pass