summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bryce <jbryce@jbryce.com>2010-12-17 16:29:55 -0600
committerJonathan Bryce <jbryce@jbryce.com>2010-12-17 16:29:55 -0600
commit7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae (patch)
treea350919b367fdd7dc999706a8e9fef8b524c0f02
parent5cae69f5e5a3f8cfb33de0564940b3f45498d7dc (diff)
downloadnova-7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae.tar.gz
nova-7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae.tar.xz
nova-7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae.zip
Removing unneeded Trial specific code
-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):