diff options
| author | Tim Graham <timograham@gmail.com> | 2014-03-11 10:46:13 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-11 10:46:13 -0400 |
| commit | c4f772ed346fa68df503f545d28719c082f6b338 (patch) | |
| tree | f0d8c3f588103e49a161bce29c6c838e91a08616 /tests/admin_scripts | |
| parent | 6d3ebe10f4f8c4b91c9cbeccf9696ca79b6909f9 (diff) | |
Fixed test failures on Windows.
refs #21092 and 8d7e048a8b428bebe82be735a84570f9250441e6
Diffstat (limited to 'tests/admin_scripts')
| -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 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] |
