django-model-utils/model_utils/tests/runtests.py
Carl Meyer 3247ac5d4b initial import (with InheritanceCastModel)
--HG--
extra : convert_revision : carl%40dirtcircle.com-20090702180302-idhig8pzmbv8nv7l
2009-07-02 14:03:02 -04:00

13 lines
368 B
Python
Executable file

#!/usr/bin/env python
import os, sys
parent = os.path.dirname(os.path.dirname(os.path.dirname(
os.path.abspath(__file__))))
sys.path.insert(0, parent)
from django.core.management import setup_environ, call_command
from model_utils.tests import test_settings
setup_environ(test_settings, 'model_utils.tests.test_settings')
call_command('test', 'tests')