Files @ 2e7f21429316
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_admin_ldap_settings.py

Marcin Kuzminski
tries to fix issue #177 by fallback to user.user_id instead of fetching from db, user.user_id
never have raise an exception so i will consider it safe.
1
2
3
4
5
6
7
from rhodecode.tests import *

class TestLdapSettingsController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='admin/ldap_settings', action='index'))
        # Test response...