|
@@ -126,7 +126,6 @@ class TestMongodbHandler(unittest.TestCase):
|
|
|
self.assertTrue(self.first_collection_name in self.database.list_collection_names())
|
|
|
self.mongodb_handler.drop_collection(self.first_collection_name)
|
|
|
self.assertFalse(self.first_collection_name in self.database.list_collection_names())
|
|
|
- self.assertRaises(Exception, lambda:self.mongodb_handler.drop_collection(self.first_collection_name))
|
|
|
|
|
|
def test_Z_drop_database(self):
|
|
|
'''
|