瀏覽代碼

Removed a test line, because of changes in the method...

ogert 5 年之前
父節點
當前提交
03064e9caa
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      cdplib/unit_tests/TestMongodbHandler.py

+ 0 - 1
cdplib/unit_tests/TestMongodbHandler.py

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