summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/tests/auth_unittest.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/nova/tests/auth_unittest.py b/nova/tests/auth_unittest.py
index 32cb2c542..61ae43fb1 100644
--- a/nova/tests/auth_unittest.py
+++ b/nova/tests/auth_unittest.py
@@ -335,11 +335,8 @@ class AuthManagerLdapTestCase(AuthManagerTestCase, test.TestCase):
import nova.auth.fakeldap as fakeldap
if FLAGS.flush_db:
logging.info("Flushing datastore")
- try:
- r = fakeldap.Store.instance()
- r.flushdb()
- except:
- self.skip = True
+ r = fakeldap.Store.instance()
+ r.flushdb()
class AuthManagerDbTestCase(AuthManagerTestCase, test.TestCase):