Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensured that we have an absolute path to RUNTESTS_DIR.

This is needed to make 'python runtests.py' work, otherwise only
'python ./runtests.py' would work.
  • Loading branch information...
commit 0dc7ff6b7abc72d9909d93cd05e33f377ba6806c 1 parent 28e545c
@apollo13 apollo13 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/runtests.py
View
2  tests/runtests.py
@@ -13,7 +13,7 @@
TEST_TEMPLATE_DIR = 'templates'
-RUNTESTS_DIR = os.path.dirname(upath(__file__))
+RUNTESTS_DIR = os.path.abspath(os.path.dirname(upath(__file__)))
CONTRIB_DIR = os.path.dirname(upath(contrib.__file__))
TEMP_DIR = tempfile.mkdtemp(prefix='django_')
os.environ['DJANGO_TEST_TEMP_DIR'] = TEMP_DIR
Please sign in to comment.
Something went wrong with that request. Please try again.