Files @ 40db9e086773
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_admin.py - annotation

Shawn K. O'Shea
Reject LDAP authentication requests with blank password. Per RFC4513 these should be treated as anonymous binds. See the Security Considerations (Section 6.3.1) for more details on this issue.
1
2
3
4
5
6
7
8
9
from rhodecode.tests import *

class TestAdminController(TestController):

    def test_index(self):
        self.log_user()
        response = self.app.get(url(controller='admin/admin', action='index'))
        assert 'Admin journal' in response.body, 'No proper title in dashboard'
        # Test response...