From 8ca9ba946e1762d533edfae797137afcc8873dd3 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Tue, 2 Oct 2012 14:23:32 -0700 Subject: Remove dependency on python-ldap for tests We have a fake ldap implementation for testing, but the tests still fail if ldap isn't installed. This modifies the usage of ldap in the LdapDNS tests to stub the module before attempting to import it. This allows us to test without having python-ldap installed. It removes the unneccessary FakeLdapDNS in favor of using the real LdapDNS with the module stubbed out. It also removes the dependency on python-ldap from test-requires. Change-Id: Ifbe09e16436afa6999dcb7385763492b0026556c --- tools/test-requires | 1 - 1 file changed, 1 deletion(-) (limited to 'tools') diff --git a/tools/test-requires b/tools/test-requires index 74910be0d..2245b46a8 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -2,7 +2,6 @@ distribute>=0.6.24 coverage -python-ldap mox==0.5.3 nose openstack.nose_plugin>=0.7 -- cgit