#!/usr/bin/env python
"""Run unittests outside of manage.py."""

import os
import sys
try:
    from django.conf import settings
except:
    os.environ['DJANGO_SETTINGS_MODULE'] = 'wpcsite.settings'
    test_dir = os.path.dirname(__file__)
    sys.path.insert(0, test_dir)
    from django.conf import settings

from django import setup
from django.test.utils import get_runner


def runtests():
    setup()
    TestRunner = get_runner(settings)
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests([])
    sys.exit(failures)

if __name__ == '__main__':
    runtests()

eaf8045a7b01349e7f604ba41175568d14a7f1e8
<mask token>

<mask token>


def runtests():
    setup()
    TestRunner = get_runner(settings)
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests([])
    sys.exit(failures)


<mask token>

<mask token>
try:
    from django.conf import settings
except:
    os.environ['DJANGO_SETTINGS_MODULE'] = 'wpcsite.settings'
    test_dir = os.path.dirname(__file__)
    sys.path.insert(0, test_dir)
    from django.conf import settings
<mask token>


def runtests():
    setup()
    TestRunner = get_runner(settings)
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests([])
    sys.exit(failures)


if __name__ == '__main__':
    runtests()

<mask token>
import os
import sys
try:
    from django.conf import settings
except:
    os.environ['DJANGO_SETTINGS_MODULE'] = 'wpcsite.settings'
    test_dir = os.path.dirname(__file__)
    sys.path.insert(0, test_dir)
    from django.conf import settings
from django import setup
from django.test.utils import get_runner


def runtests():
    setup()
    TestRunner = get_runner(settings)
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests([])
    sys.exit(failures)


if __name__ == '__main__':
    runtests()

#!/usr/bin/env python
"""Run unittests outside of manage.py."""

import os
import sys
try:
    from django.conf import settings
except:
    os.environ['DJANGO_SETTINGS_MODULE'] = 'wpcsite.settings'
    test_dir = os.path.dirname(__file__)
    sys.path.insert(0, test_dir)
    from django.conf import settings

from django import setup
from django.test.utils import get_runner


def runtests():
    setup()
    TestRunner = get_runner(settings)
    test_runner = TestRunner(verbosity=1, interactive=True)
    failures = test_runner.run_tests([])
    sys.exit(failures)

if __name__ == '__main__':
    runtests()
