@defer.inlineCallbacks
    def __check_no_open_cursors(self):
        status = yield self.db.command("serverStatus")
        if status["metrics"] in "cursor":
            self.assertEqual(status["metrics"]["cursor"]["open"]["total"], 0)
        else:
            self.assertEqual(status["cursors"]["totalOpen"], 0)
dataset/ETHPy150Open twisted/txmongo/tests/test_queries.py/TestMongoQueries.__check_no_open_cursors/swapped operands of `in`