aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_auth.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed broken confirm_password testJoar Wandborg2011-12-301-17/+0
|
* Dot-Notation for Users.fp_token_expireElrond2011-12-051-4/+4
|
* Dot-Notation for Users.fp_verification_keyElrond2011-12-051-1/+1
|
* Dot-Notation for Users.verification_keyElrond2011-12-051-1/+1
|
* Dot-Notation for Users.statusElrond2011-12-051-3/+3
|
* Dot-Notation for Users.email_verifiedElrond2011-12-051-3/+3
|
* Merge branch 'misc/fixture_add_user'Elrond2011-12-041-6/+2
|\ | | | | | | | | * misc/fixture_add_user: fixture_add_user: Factoring a unit test tool
| * fixture_add_user: Factoring a unit test toolElrond2011-12-011-6/+2
| | | | | | | | | | | | | | Some unit tests need a user in the database, especially to act as that user. Some routines did that on their own. So factored this whole thing into a new function and use it around.
* | Expect 404 in unit tests, if we now use 404.Elrond2011-12-021-4/+4
|/ | | | | | | | Our unit tests for auth were expecting a 400. Well, now we give a 404. So expect that! I'm not completely sure, if the 404 is the right thing here, but that's another topic.
* Dot-Notation for "_id"Elrond2011-11-151-6/+6
| | | | | | | | | Note: Migrations can't use "Dot Notation"! Migrations run on pymongo, not mongokit. So they can't use the "Dot Notation". This isn't really a big issue, as migrations are anyway quite mongo specific.
* Finished splitting util.py into separate files.Aaron Williamson2011-10-011-5/+5
|
* Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-011-53/+53
| | | | tools/[file].py
* Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality'Christopher Allan Webber2011-09-081-0/+88
|\ | | | | | | | | Conflicts: mediagoblin/auth/routing.py
| * Updating calls to recall password URLs to respect changed routingChristopher Allan Webber2011-09-071-6/+8
| |
| * for readability, and adds unit test for expired tokenCaleb Forbes Davis V2011-09-051-0/+10
| |
| * added unit tests for lost password codeCaleb Forbes Davis V2011-09-051-0/+76
| |
* | 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|/
* Updating tests to reflect we redirect to the user's page after verification now.Christopher Allan Webber2011-08-011-4/+8
|
* Log in user after regitrationChristopher Allan Webber2011-07-291-0/+5
|
* Redirect to the user's profile after registrationChristopher Allan Webber2011-07-291-2/+2
| | | | | | | - Updated the view - Updated the tests - Fixed a weirdness in the registration view where the 'user' variable used to be called 'entry'
* allows using messaging instead of verify_email.html to pass testsCaleb Forbes Davis V2011-07-041-2/+2
| | | | | * re-instated verification_successful flag * modified test_auth to verify nav to user_pages/user.html template
* added test coverage for redirecting after login with the next paramChris Moylan2011-06-191-2/+12
|
* Added tests for all sorts of login form abuse.Chris Moylan2011-06-191-6/+76
| | | | Added tests for log out
* logins are now somewhat testedChris Moylan2011-06-171-5/+43
|
* mediagoblin.globals->mediagoblin.mg_globalsChristopher Allan Webber2011-06-121-5/+5
|
* A setup_fresh_app decorator which should make writing tests a bit easier.Christopher Allan Webber2011-06-061-5/+3
| | | | Setting test_register_views() to use it also.
* Docstring for test_register_views()Christopher Allan Webber2011-06-051-0/+3
|
* Make sure that two users with the same username can't register.Christopher Allan Webber2011-06-051-1/+14
|
* Email verification view test worksChristopher Allan Webber2011-06-051-1/+25
|
* Make sure we can register, and then that we get the verification emailChristopher Allan Webber2011-06-051-4/+46
|
* Just a bit of formatting for these unfinished tests ;)Christopher Allan Webber2011-06-051-2/+4
|
* Test registration form integrityChristopher Allan Webber2011-06-051-0/+64
|
* The first bit of the registration tests working. Not fully there, butChristopher Allan Webber2011-06-051-0/+26
| | | | | it's clear that the webtest part is working, without having tested the database yet. :)
* Changes Mediagoblin -> MediaGoblin.Will Kahn-Greene2011-04-131-1/+1
|
* Also make sure the auth system successfully returns False when loginChristopher Allan Webber2011-04-021-2/+12
| | | | failboats.
* Unit tests for our bcrypt auth stuff. Our first tests!Christopher Allan Webber2011-04-021-0/+49