tests using django_testscenarios fail when django_testscenarios is installed as an egg

Bug #827766 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-testscenarios
Confirmed
Medium
Unassigned

Bug Description

At least using the version of lava-dev-tool I have installed, django_testscenarios is installed as a zipped egg (.lava-dev-tool/localenv/lib/python2.6/site-packages/django_testproject-0.1.1-py2.6.egg) but the default settings used by django-testscenarios tests does not include django.template.loaders.eggs.Loader in TEMPLATE_LOADERS, so tests that try to access django-testscenarios' templates fail (this is why linaro-django-xmlrpc's tests fail in jenkins).

The fix would either be to include the egg template loader or mark django-testscenarios as not zip safe. I don't know which is preferable :)

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

django-testscenarios should probably default to having itself in INSTALLED_APPS, too.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I agree, we should look into eggs by default.

Changed in django-testscenarios:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.