[kforge-dev] testing kforge

John Bywater john.bywater at appropriatesoftware.net
Mon Jul 23 08:59:44 UTC 2007


Hey Rufus,

The suite kforge/urltest.py produces this error  (see below for the test 
report):

AttributeError: 'unicode' object has no attribute 'decode'


Any ideas about what's gone wrong?

Also, would you like to arrange a time to meet this week?

Best wishes,

John.
 
PS The only other test failures (`kforge-test 
kforge.handlers.projecthosttest`) arise from the fact that the handler 
return code(s) were changed. I guess the tests have been failing since 
the access handler return code(s) was changed from 0 to 403. But are we 
happy with this aspect, what doesn't it do?



======================================================================
ERROR: test_decodeServicePath (kforge.urltest.UrlSchemeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/kforge/urltest.py", line 69, in 
test_decodeServicePath
  File "build/bdist.linux-i686/egg/kforge/url.py", line 134, in 
decodeServicePath
  File 
"/home/john/provided/var/provisions/kforge/applications/0.13a1/services/test/live/lib/python/Routes-1.7-py2.3.egg/routes/base.py", 
line 792, in match
    result = self._match(url)
  File 
"/home/john/provided/var/provisions/kforge/applications/0.13a1/services/test/live/lib/python/Routes-1.7-py2.3.egg/routes/base.py", 
line 771, in _match
    self.sub_domains_ignore, self.domain_match)
  File 
"/home/john/provided/var/provisions/kforge/applications/0.13a1/services/test/live/lib/python/Routes-1.7-py2.3.egg/routes/base.py", 
line 417, in match
    val = val and urllib.unquote_plus(val).decode(self.encoding, 
self.decode_errors)
AttributeError: 'unicode' object has no attribute 'decode'


-- 
Appropriate Software Foundation
Registered in England and Wales
17 Chapel Street, Hyde Cheshire
Company number: 04977110
W: appropriatesoftware.net
T: 0870 720 2944
M: 0781 139 2292






More information about the kforge-dev mailing list