Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Florian Apolloner authored February 26, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  tests/runtests.py
2  tests/runtests.py
@@ -13,7 +13,7 @@
13 13
 
14 14
 TEST_TEMPLATE_DIR = 'templates'
15 15
 
16  
-RUNTESTS_DIR = os.path.dirname(upath(__file__))
  16
+RUNTESTS_DIR = os.path.abspath(os.path.dirname(upath(__file__)))
17 17
 CONTRIB_DIR = os.path.dirname(upath(contrib.__file__))
18 18
 TEMP_DIR = tempfile.mkdtemp(prefix='django_')
19 19
 os.environ['DJANGO_TEST_TEMP_DIR'] = TEMP_DIR

0 notes on commit 0dc7ff6

Please sign in to comment.
Something went wrong with that request. Please try again.