google-code-export / gaeunit

Automatically exported from code.google.com/p/gaeunit
0 stars 0 forks source link

Paginator import fails #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. test a controller that has from django.core.paginator import Paginator,
2. Maybe be using a django.zip?
3.

What is the expected output? What do you see instead?
a running test

What version of the product are you using? On what operating system?
1.2.6

Please provide any additional information below.

Original issue reported on code.google.com by els...@gmail.com on 9 Apr 2009 at 4:07

GoogleCodeExporter commented 9 years ago
Actually, you should close this bug.
I'm using a zipimport of django.zip along with the DjangoHelper. If I add the
following to gaeunit, all's well:
from appengine_django import InstallAppengineHelperForDjango
InstallAppengineHelperForDjango()
(this is what's in the App Engine helper's main.py file as well.)
There's probably a nice way gaeunit could handle this scenario though...

Original comment by els...@gmail.com on 10 Apr 2009 at 6:35

GoogleCodeExporter commented 9 years ago

Original comment by srfar...@gmail.com on 23 Jul 2009 at 2:14