Skip to content
Browse files

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

  • Loading branch information...
1 parent 21189cb commit af3321a1e80eece49bd934b4f03f9c4ddd702767 @ambv ambv committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/admin_scripts/
2 tests/admin_scripts/
@@ -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):
open(os.path.join(test_dir, ''), 'w').close()

0 comments on commit af3321a

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