|
@@ -25,7 +25,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|
|
def test_check_password(self):
|
|
|
"""
|
|
|
Verify that check_password returns the correct values as per
|
|
|
- http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Authentication_Provider
|
|
|
+ https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
|
|
|
"""
|
|
|
User.objects.create_user('test', 'test@example.com', 'test')
|
|
|
|
|
@@ -46,8 +46,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|
|
def test_check_password_custom_user(self):
|
|
|
"""
|
|
|
Verify that check_password returns the correct values as per
|
|
|
- http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Authentication_Provider
|
|
|
-
|
|
|
+ https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
|
|
|
with custom user installed
|
|
|
"""
|
|
|
|
|
@@ -65,7 +64,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|
|
def test_groups_for_user(self):
|
|
|
"""
|
|
|
Check that groups_for_user returns correct values as per
|
|
|
- http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Group_Authorisation
|
|
|
+ https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-group-authorisation
|
|
|
"""
|
|
|
user1 = User.objects.create_user('test', 'test@example.com', 'test')
|
|
|
User.objects.create_user('test1', 'test1@example.com', 'test1')
|