Source

django-registration / registration / tests / backends.py

Author Commit Message Labels Comments Date
James Bennett
Improve test coverage of the simple backend.
James Bennett
First draft of a simple one-step registration backend. Documentation in next commit.
James Bennett
Clean up a bit in the test suite.
James Bennett
Add an admin action for manually activating users.
James Bennett
Add an admin action for re-sending activation emails.
James Bennett
Backend is now a required argument, and implicit fallback to REGISTRATION_BACKEND is now gone.
James Bennett
Move get_backend() into registration.backends.
James Bennett
get_backend() should take an optional path, which makes other things much easier.
James Bennett
Signals should send the request object as well.
James Bennett
Aforementioned code change.
James Bennett
Shameless minor tweak on a function not meant to be called in tests. coverage.py now reports 100% test coverage.
James Bennett
Use mock requests everywhere, and test that registration still works when using only RequestSite.
James Bennett
Add a test for a backend module which exists but lacks the specified class.
James Bennett
Factor out common logic in the backend-retrieval tests.
James Bennett
Restore the registration/activation signals.
James Bennett
Tests were getting a bit unwieldy; split them up into a module.