/usr/share/pyshared/voting/tests/runtests.py is in python-django-voting 0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | import os, sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'voting.tests.settings'
from django.test.simple import DjangoTestSuiteRunner
runner = DjangoTestSuiteRunner(verbosity=9)
failures = runner.run_tests(None)
if failures:
sys.exit(failures)
|