summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-03-11 10:46:13 -0400
committerTim Graham <timograham@gmail.com>2014-03-11 10:46:13 -0400
commitc4f772ed346fa68df503f545d28719c082f6b338 (patch)
treef0d8c3f588103e49a161bce29c6c838e91a08616 /tests/admin_scripts
parent6d3ebe10f4f8c4b91c9cbeccf9696ca79b6909f9 (diff)
Fixed test failures on Windows.
refs #21092 and 8d7e048a8b428bebe82be735a84570f9250441e6
Diffstat (limited to 'tests/admin_scripts')
-rw-r--r--tests/admin_scripts/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 6ebac74fc3..90fd3520e2 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -133,7 +133,7 @@ class AdminScriptTestCase(unittest.TestCase):
# Set the test environment
if settings_file:
- test_environ['DJANGO_SETTINGS_MODULE'] = settings_file
+ test_environ['DJANGO_SETTINGS_MODULE'] = str(settings_file)
elif 'DJANGO_SETTINGS_MODULE' in test_environ:
del test_environ['DJANGO_SETTINGS_MODULE']
python_path = [base_dir, django_dir, tests_dir]