Hey David,
Did you ever find a way to get 'paster shell' to work while using
authkit across your pylons app?
I'm running into the problem you mention in your message below...
Thanks,
-Mark
On Jun 8 2007, 6:26 pm, David Niergarth [EMAIL PROTECTED] wrote:
I have the same question. Also
you should use the extra_environ parameter to simulate a user being
authenticated
app.get(url_for(controller='preferences', action='view_preferences',
name='ger'), extra_environ={'REMOTE_USER':'[EMAIL PROTECTED][EMAIL
PROTECTED]'}
)
cheers
Fer
On Tue, Aug 26, 2008 at 5:45 PM, Mark [EMAIL
On Jun 10, 10:37 am, Alberto Valverde [EMAIL PROTECTED] wrote:
This is the TestCase base class I use in the auth. related tests:
Thanks for sharing your code Alberto. I've got it working now.
Will not test that AuthKit properly authenticates (I test the
authentication function I pass to the
On Jun 11, 10:11 am, Agustin Villena [EMAIL PROTECTED]
wrote:
If I understand, this class may replace de standard TestController from
pylons?
I ended up changing Alberto's code so it subclasses TestController.
class WSGIAppSecurityTestCase(TestController):
def __init__(self, *args, **kw):
If I understand, this class may replace de standard TestController from
pylons?
Thanks
Agustin
On 10/06/07, Alberto Valverde [EMAIL PROTECTED] wrote:
On Jun 9, 2007, at 12:26 AM, David Niergarth wrote:
I have the same question. Also
paster shell development.ini
has similar
Sorry if this is a novice question, but I can't find any docs about
implementing testing over protected controllers (with authkit)
Any example?
Thanks
Agustin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups