File: runtests.py

package info (click to toggle)
django-yarnpkg 6.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: python: 508; makefile: 128
file content (12 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault(
        "DJANGO_SETTINGS_MODULE", 'django_yarnpkg.test_settings',
    )

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)