Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to test protected areas with repoze.who-testutil #1

Open
pedersen opened this issue Sep 24, 2012 · 3 comments
Open

Document how to test protected areas with repoze.who-testutil #1

pedersen opened this issue Sep 24, 2012 · 3 comments

Comments

@pedersen
Copy link
Member

This issue existed in Trac. The original can be viewed at http://trac.turbogears.org/ticket/2261

This issue existed on SourceForge. The original can be viewed at https://sourceforge.net/p/turbogears2/tickets/3

@pedersen
Copy link
Member Author

Original Author: pedersen, Original Timestamp: 2011-03-10 02:31:42.392000

Original Body: I have to explain how to test protected areas and authentication separately, using repoze.who-testutil.

@pedersen
Copy link
Member Author

Original Author: pedersen, Original Timestamp: 2012-08-24 01:32:59.714000

Original Body: - version: 2.1.0 --> 2.1.5

  • milestone: 2.2.0 --> 2.3.0

@shakefu
Copy link

shakefu commented Nov 16, 2012

I'm on 2.1.5 and as far as I can tell, even though repoze.who-testutil is installed, it doesn't work (e.g. the {'REMOTE_USER': 'username'} in the extra_environ doesn't authenticate - I get a 401). Is there some configuration that needs to be done to make the testutil plugin actually work? I can't find anything in its documentation or repoze.who's documentation (the normal [plugin:testutil] use = repoze.who.plugins.testutil:[anything in that file] doesn't work.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants