def METHOD_NAME(self, level):
    log_file_path = os.path.abspath(os.path.join("tmp", "log_file.txt"))
    with patch('logging.root', logging.RootLogger(logging.NOTSET)):
        set_rotating_logger(log_file_path=log_file_path, log_level=level, max_file_size=100, max_backups=10)
        logger = logging.getLogger('oasislmf')
        self.assertEqual(level, logger.level)
        self.assertEqual(1, len(logger.handlers))
        handler = logger.handlers[0]
        self.assertIsInstance(handler, RotatingFileHandler)
        self.assertEqual(log_file_path, handler.baseFilename)
        self.assertEqual(100, handler.maxBytes)
        self.assertEqual(10, handler.backupCount)