##// END OF EJS Templates
ldap: handle more elegantly that python-ldap isn't installed when trying to use ldap...
ldap: handle more elegantly that python-ldap isn't installed when trying to use ldap Don't fail with AttributeError: 'NoneType' object has no attribute 'SCOPE_SUBTREE' in the log.

File last commit:

r1375:f9559677 beta
r3632:1ec67ddc beta
Show More
test_followers.py
13 lines | 457 B | text/x-python | PythonLexer
from rhodecode.tests import *
class TestFollowersController(TestController):
def test_index(self):
self.log_user()
repo_name = HG_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
self.assertTrue("""test_admin""" in response.body)
self.assertTrue("""Started following""" in response.body)