Source

django-smoke-admin / django-smoke-admin / management / commands / smoke_admin_test.py

1
2
3
4
5
6
7
8
from django.core.management.base import BaseCommand
import subprocess


class Command(BaseCommand):

    def handle(self, *args, **options):
        subprocess.call(['./test_app/runtests.py', 'django-smoke-admin'])