﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
7767	'Loading a template from an egg' Django test fails on Windows	Ramiro Morales	nobody	"As of r7929 the {{{tests/regressiontests/templates/loaders.py:EggLoader.test_existing}}} test fails (and possibly has been failing since its implementation back in [7565]):

{{{
E:\proj\django\trunk\tests>..\..\..\django_test\django-tests.bat
======================================================================
ERROR: A template can be loaded from an egg
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""E:\proj\django\trunk\tests\regressiontests\templates\loaders.py"", line 8
2, in test_existing
    contents, template_name = lts_egg(""y.html"")
  File ""E:\proj\django\trunk\django\template\loaders\eggs.py"", line 24, in load_
template_source
    raise TemplateDoesNotExist, template_name
TemplateDoesNotExist: y.html
}}}

The problem is located in the test itself and is related to the differences in path separator. The attached patch fixes it."		closed	Template system	dev		fixed			Accepted	1	0	0	0	0	0
