[Python-modules-commits] r13645 - in packages/python-django-voting/trunk/debian/patches (1 file)
ockham-guest at users.alioth.debian.org
ockham-guest at users.alioth.debian.org
Fri Jun 25 21:52:57 UTC 2010
Date: Friday, June 25, 2010 @ 21:52:56
Author: ockham-guest
Revision: 13645
Add patch for test execution
Added:
packages/python-django-voting/trunk/debian/patches/runtests-syspath
Added: packages/python-django-voting/trunk/debian/patches/runtests-syspath
===================================================================
--- packages/python-django-voting/trunk/debian/patches/runtests-syspath (rev 0)
+++ packages/python-django-voting/trunk/debian/patches/runtests-syspath 2010-06-25 21:52:56 UTC (rev 13645)
@@ -0,0 +1,8 @@
+--- a/voting/tests/runtests.py
++++ b/voting/tests/runtests.py
+@@ -1,4 +1,5 @@
+ import os, sys
++sys.path.append('../..')
+ os.environ['DJANGO_SETTINGS_MODULE'] = 'voting.tests.settings'
+
+ from django.test.simple import run_tests
More information about the Python-modules-commits
mailing list