diff options
| author | Łukasz Langa <lukasz@langa.pl> | 2013-02-27 23:23:27 +0100 |
|---|---|---|
| committer | Łukasz Langa <lukasz@langa.pl> | 2013-02-27 23:33:47 +0100 |
| commit | af3321a1e80eece49bd934b4f03f9c4ddd702767 (patch) | |
| tree | e3c6d88f2b40e07d8fc5a73d42dd88c511a20407 /tests/admin_scripts/tests.py | |
| parent | 21189cb80b9960940008a52cdc0de86145176497 (diff) | |
use the real path to fix OS X /var/folders vs. /private/var/folders mismatch
Diffstat (limited to 'tests/admin_scripts/tests.py')
| -rw-r--r-- | tests/admin_scripts/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 64c0105539..42595982d9 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -26,7 +26,7 @@ from django.utils.six import StringIO 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() |
