Em Monday 10 December 2007 20:29:51 Matt Wilson escreveu:
> I'm having a lot of trouble writing tests for controller methods.  In
> particular methods that have identity requirements and methods that
> raise redirects are giving me problems.

(...)

>   File "/usr/lib/python2.5/site-packages/TurboGears-1.0.4b2-py2.5.egg/
> turbogears/identity/exceptions.py", line 64, in __init__
>     raise IdentityConfigurationException( msg )
> IdentityConfigurationException: Missing URL for identity failure

(...)

> Does anyone have some successful test_controllers they can share?

Why aren't you reusing the configuration you already have for authentication?  
It has an URL where queries that aren't authenticated are redirected to.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to