mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-04-22 12:04:43 +00:00
13 lines
368 B
Python
Executable file
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')
|