diff -r 96d127cf52ff tests/regressiontests/templates/loaders.py
a
|
b
|
|
14 | 14 | import pkg_resources |
15 | 15 | import imp |
16 | 16 | import StringIO |
| 17 | import os.path |
17 | 18 | |
18 | 19 | from django.template import TemplateDoesNotExist |
19 | 20 | from django.template.loaders.eggs import load_template_source as lts_egg |
… |
… |
|
57 | 58 | |
58 | 59 | self.empty_egg = create_egg("egg_empty", {}) |
59 | 60 | self.egg_1 = create_egg("egg_1", { |
60 | | 'templates/y.html' : StringIO.StringIO("y"), |
61 | | 'templates/x.txt' : StringIO.StringIO("x"), |
| 61 | os.path.normcase('templates/y.html') : StringIO.StringIO("y"), |
| 62 | os.path.normcase('templates/x.txt') : StringIO.StringIO("x"), |
62 | 63 | }) |
63 | 64 | self._old_installed_apps = settings.INSTALLED_APPS |
64 | 65 | settings.INSTALLED_APPS = [] |