Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use the real path to fix OS X /var/folders vs. /private/var/folders m…

…ismatch
  • Loading branch information...
commit af3321a1e80eece49bd934b4f03f9c4ddd702767 1 parent 21189cb
@ambv ambv authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/admin_scripts/tests.py
View
2  tests/admin_scripts/tests.py
@@ -26,7 +26,7 @@
from django.test import LiveServerTestCase
-test_dir = os.path.join(os.environ['DJANGO_TEST_TEMP_DIR'], 'test_project')
+test_dir = os.path.realpath(os.path.join(os.environ['DJANGO_TEST_TEMP_DIR'], 'test_project'))
if not os.path.exists(test_dir):
os.mkdir(test_dir)
open(os.path.join(test_dir, '__init__.py'), 'w').close()
Please sign in to comment.
Something went wrong with that request. Please try again.