``dropSearchIndex`` suppresses namespace not found errors.
(self)
| 263 | self.assertEqual(index["latestDefinition"], model2["definition"]) |
| 264 | |
| 265 | def test_case_5(self): |
| 266 | """``dropSearchIndex`` suppresses namespace not found errors.""" |
| 267 | # Create a driver-side collection object for a randomly generated collection name. Do not create this collection on the server. |
| 268 | coll0 = self.db[f"col{uuid.uuid4()}"] |
| 269 | |
| 270 | # Run a ``dropSearchIndex`` command and assert that no error is thrown. |
| 271 | coll0.drop_search_index("foo") |
| 272 | |
| 273 | def test_case_6(self): |
| 274 | """Driver can successfully create and list search indexes with non-default readConcern and writeConcern.""" |
nothing calls this directly
no test coverage detected