diff options
author | Christian Heimes <cheimes@redhat.com> | 2017-03-01 11:33:00 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2017-03-01 13:55:22 +0100 |
commit | 79c0e6d355c9e7bcc7cacc37faaba8e999d56400 (patch) | |
tree | 51b57f74f8b6de085179229a2cb353052bc188e0 /ipatests | |
parent | 49f87f34be5f04f18a6d916276153e9ef1e5852c (diff) | |
download | freeipa-79c0e6d355c9e7bcc7cacc37faaba8e999d56400.tar.gz freeipa-79c0e6d355c9e7bcc7cacc37faaba8e999d56400.tar.xz freeipa-79c0e6d355c9e7bcc7cacc37faaba8e999d56400.zip |
Remove import nss from test_ldap
test_ldap just imported nss.nss to call nss_init_nodb(). It should be
safe to remove the call. Let's see what CI has to say.
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/test_ipaserver/test_ldap.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ipatests/test_ipaserver/test_ldap.py b/ipatests/test_ipaserver/test_ldap.py index 3a0b4b2ec..e7ba867d0 100644 --- a/ipatests/test_ipaserver/test_ldap.py +++ b/ipatests/test_ipaserver/test_ldap.py @@ -31,7 +31,6 @@ import sys import pytest import nose from nose.tools import assert_raises # pylint: disable=E0611 -import nss.nss as nss import six from ipaplatform.paths import paths @@ -53,7 +52,6 @@ class test_ldap(object): def setup(self): self.conn = None self.ldapuri = 'ldap://%s' % ipautil.format_netloc(api.env.host) - nss.nss_init_nodb() self.dn = DN(('krbprincipalname','ldap/%s@%s' % (api.env.host, api.env.realm)), ('cn','services'),('cn','accounts'),api.env.basedn) |