Removing unneeded Trial specific code

This commit is contained in:
Jonathan Bryce
2010-12-17 23:54:37 +00:00
committed by Tarmac

View File

@@ -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):