Browse files

Fixed test failures on Windows.

refs #21092 and 8d7e048
  • Loading branch information...
1 parent 6d3ebe1 commit c4f772ed346fa68df503f545d28719c082f6b338 @timgraham timgraham committed Mar 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/admin_scripts/tests.py
View
2 tests/admin_scripts/tests.py
@@ -133,7 +133,7 @@ def run_test(self, script, args, settings_file=None, apps=None):
# 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]

0 comments on commit c4f772e

Please sign in to comment.