#7767: 'Loading a template from an egg' Django test fails on Windows
---------------------------+------------------------------------------------
Reporter: ramiro | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/7767>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---