Removing unneeded Trial specific code
This commit is contained in:
@@ -335,11 +335,8 @@ class AuthManagerLdapTestCase(AuthManagerTestCase, test.TestCase):
|
|||||||
import nova.auth.fakeldap as fakeldap
|
import nova.auth.fakeldap as fakeldap
|
||||||
if FLAGS.flush_db:
|
if FLAGS.flush_db:
|
||||||
logging.info("Flushing datastore")
|
logging.info("Flushing datastore")
|
||||||
try:
|
r = fakeldap.Store.instance()
|
||||||
r = fakeldap.Store.instance()
|
r.flushdb()
|
||||||
r.flushdb()
|
|
||||||
except:
|
|
||||||
self.skip = True
|
|
||||||
|
|
||||||
|
|
||||||
class AuthManagerDbTestCase(AuthManagerTestCase, test.TestCase):
|
class AuthManagerDbTestCase(AuthManagerTestCase, test.TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user