#2003: [TEST] Custom identity provider not available in unittest
--------------------+-------------------------------------------------------
 Reporter:  kvdb    |        Owner:  kskuhlman 
     Type:  defect  |       Status:  new       
 Priority:  normal  |    Milestone:  1.1 beta 2
Component:  Tests   |      Version:  1.1 HEAD  
 Severity:  normal  |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by kvdb):

 The test framework seems to work better by using "python setup.py test".
 So, marking it invalid is fine with me. However
 http://docs.turbogears.org/1.1/Testing still talks about nosetests without
 mentioning "python setup.py test". The page is immutable, so I thought I'd
 mention it here in this bug report.

 With this new "python setup.py test" way of testing, I got another
 'blocker' right away.
 I'll update to a later TG (currently using 1.1r5330) and file a new
 bugreport if I can still reproduce it.

 {{{
 ======================================================================
 FAIL: test_get_signup_form
 (cms.signup.tests.test_account_signup.TestAccountSignup)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File
 "/home/kvdb/ivy/trunk/src/cms/cms/signup/tests/test_account_signup.py",
 line 15, in test_get_signup_form
     response = self.app.get('/signup')
   File "/home/kvdb/ivy/env/ivy_tg1.1_r5330/lib/python2.5/site-
 packages/WebTest-1.0-py2.5.egg/webtest/__init__.py", line 149, in get
   File "/home/kvdb/ivy/env/ivy_tg1.1_r5330/lib/python2.5/site-
 packages/WebTest-1.0-py2.5.egg/webtest/__init__.py", line 301, in
 do_request
   File "build/bdist.linux-i686/egg/webob/__init__.py", line 1300, in
 get_response
   File "build/bdist.linux-i686/egg/webob/__init__.py", line 1272, in
 call_application
   File "/usr/lib/python2.5/wsgiref/validate.py", line 176, in lint_app
     iterator = application(environ, start_response_wrapper)
   File "/home/kvdb/ivy/env/ivy_tg1.1_r5330/lib/python2.5/site-
 packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cpwsgi.py", line 149, in
 wsgiApp
     start_response(s, h, exc)
   File "/usr/lib/python2.5/wsgiref/validate.py", line 166, in
 start_response_wrapper
     check_headers(headers)
   File "/usr/lib/python2.5/wsgiref/validate.py", line 405, in
 check_headers
     % (value, bad_header_value_re.search(value).group(0)))
   File "/usr/lib/python2.5/wsgiref/validate.py", line 129, in assert_
     raise AssertionError(*args)
 AssertionError: Bad header value:
 'session_id=938a4e5e46a0794880f264594e23a8042ae64ab6; expires=Thu, 13 Nov
 2008 11:46:39 GMT; Path=/\r' (bad char: '\r')

 ----------------------------------------------------------------------
 }}}

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2003#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to