<reponame>SinnerSchraderMobileMirrors/django-cms
#!/usr/bin/env python
import sys

from cms.test_utils.cli import configure
from cms.test_utils.tmpdir import temp_dir
import os


def main():
    with temp_dir() as STATIC_ROOT:
        with temp_dir() as MEDIA_ROOT:
            configure(
                'sqlite://localhost/cmstestdb.sqlite',
                ROOT_URLCONF='cms.test_utils.project.urls',
                STATIC_ROOT=STATIC_ROOT,
                MEDIA_ROOT=MEDIA_ROOT,
            )
            from django.core.management import execute_from_command_line

            os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cms.test_utils.cli")
            execute_from_command_line(sys.argv)


if __name__ == '__main__':
    main()# -*- coding: utf-8 -*-

#!/usr/bin/env python
import sys

from cms.test_utils.cli import configure
from cms.test_utils.tmpdir import temp_dir
import os


def main():
    with temp_dir() as STATIC_ROOT:
        with temp_dir() as MEDIA_ROOT:
            configure(
                'sqlite://localhost/cmstestdb.sqlite',
                ROOT_URLCONF='cms.test_utils.project.urls',
                STATIC_ROOT=STATIC_ROOT,
                MEDIA_ROOT=MEDIA_ROOT,
            )
            from django.core.management import execute_from_command_line

            os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cms.test_utils.cli")
            execute_from_command_line(sys.argv)


if __name__ == '__main__':
    main()# -*- coding: utf-8 -*-
#!/usr/bin/env python # -*- coding: utf-8 -*-