diff options
| author | Jonathan Bryce <jbryce@jbryce.com> | 2010-12-17 16:29:55 -0600 |
|---|---|---|
| committer | Jonathan Bryce <jbryce@jbryce.com> | 2010-12-17 16:29:55 -0600 |
| commit | 7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae (patch) | |
| tree | a350919b367fdd7dc999706a8e9fef8b524c0f02 | |
| parent | 5cae69f5e5a3f8cfb33de0564940b3f45498d7dc (diff) | |
| download | nova-7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae.tar.gz nova-7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae.tar.xz nova-7f5ec9caa5cad314c6fec598d6c230dfbc8f0eae.zip | |
Removing unneeded Trial specific code
| -rw-r--r-- | nova/tests/auth_unittest.py | 7 |
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): |
