summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/test/test_ldapauth.py
blob: 7fc009ad22e06047690c619fcf70610d72296dbe (plain)
1
2
3
4
5
6
7
8
9
10
import os,sys
import harness

from Hostbase.ldapauth import *

def test_it():
    l = ldapauth(os.environ['LDAP_SVC_ACCT_NAME'],
                 os.environ['LDAP_SVC_ACCT_PASS'])

    assert l.department == 'foo'