diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-10-02 14:23:32 -0700 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-10-02 16:01:49 -0700 |
commit | 8ca9ba946e1762d533edfae797137afcc8873dd3 (patch) | |
tree | e1e764bd339b09623e5fb91b2068cc4637affdf9 /tools | |
parent | 6bc8c20be705f3cf704b5103e8bb998015d14248 (diff) | |
download | nova-8ca9ba946e1762d533edfae797137afcc8873dd3.tar.gz nova-8ca9ba946e1762d533edfae797137afcc8873dd3.tar.xz nova-8ca9ba946e1762d533edfae797137afcc8873dd3.zip |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test-requires | 1 |
1 files changed, 0 insertions, 1 deletions
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 |