mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
merge in stuff
This commit is contained in:
parent
2dcc816e29
commit
8c399fadf8
2 changed files with 4 additions and 3 deletions
|
|
@ -1 +1,2 @@
|
|||
from test_models import *
|
||||
from test_views import *
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue