Explorar o código

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

ogert %!s(int64=5) %!d(string=hai) anos
pai
achega
03064e9caa
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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):
         '''