run the test
Failure in test
/home/dan/Plone0/buildout-cache/eggs/getpaid.ogone-0.3-py2.4.egg/getpaid/ogone/t
ests/ogone.txt
Failed doctest test for ogone.txt
File
"/home/dan/Plone0/buildout-cache/eggs/getpaid.ogone-0.3-py2.4.egg/getpaid/ogone/
tests/ogone.txt",
line 0
----------------------------------------------------------------------
File
"/home/dan/Plone0/buildout-cache/eggs/getpaid.ogone-0.3-py2.4.egg/getpaid/ogone/
tests/ogone.txt",
line 42, in ogone.txt
Failed example:
processor.getLanguage()
Exception raised:
Traceback (most recent call last):
File
"/home/dan/Plone0/Zope-2.10.7-final-py2.4/lib/python/zope/testing/doctest.py",
line 1348, in __run
compileflags, 1) in test.globs
File "<doctest ogone.txt[17]>", line 1, in ?
processor.getLanguage()
File
"/home/dan/Plone0/buildout-cache/eggs/getpaid.ogone-0.3-py2.4.egg/getpaid/ogone/
ogone.py",
line 37, in getLanguage
languages = IUserPreferredLanguages(self.context.REQUEST)
AttributeError: 'StoreStub' object has no attribute 'REQUEST'
it's written line 41
>>> store.request = request
instead of
>>> store.REQUEST = request
Original issue reported on code.google.com by danielle...@gmail.com on 16 Apr 2009 at 7:01
Original issue reported on code.google.com by
danielle...@gmail.com
on 16 Apr 2009 at 7:01