def METHOD_NAME():
    with mock.patch(
        "paasta_tools.paasta_cluster_boost.load_system_paasta_config", autospec=True
    ) as mock_load_system_paasta_config, mock.patch(
        "paasta_tools.paasta_cluster_boost.load_boost.get_zk_cluster_boost_path",
        autospec=True,
    ) as mock_get_zk_cluster_boost_path, mock.patch(
        "paasta_tools.paasta_cluster_boost.load_boost.set_boost_factor", autospec=True
    ) as mock_set_boost_factor, mock.patch(
        "paasta_tools.paasta_cluster_boost.load_boost.clear_boost", autospec=True
    ) as mock_clear_boost, mock.patch(
        "paasta_tools.paasta_cluster_boost.load_boost.get_boost_factor", autospec=True
    ):
        mock_get_regions = mock.Mock(return_value=[])
        mock_load_system_paasta_config.return_value = mock.Mock(
            get_cluster_boost_enabled=mock.Mock(return_value=False),
            get_boost_regions=mock_get_regions,
        )
        mock_get_regions.return_value = ["useast1-dev"]
        assert not paasta_cluster_boost.paasta_cluster_boost(
            action="status", pool="default", boost=1.0, duration=20, override=False
        )
        mock_load_system_paasta_config.return_value = mock.Mock(
            get_cluster_boost_enabled=mock.Mock(return_value=True),
            get_boost_regions=mock_get_regions,
        )
        mock_get_regions.return_value = []
        assert not paasta_cluster_boost.paasta_cluster_boost(
            action="status", pool="default", boost=1.0, duration=20, override=False
        )
        mock_load_system_paasta_config.return_value = mock.Mock(
            get_cluster_boost_enabled=mock.Mock(return_value=True),
            get_boost_regions=mock_get_regions,
        )
        mock_get_regions.return_value = ["useast1-dev"]
        assert paasta_cluster_boost.paasta_cluster_boost(
            action="status", pool="default", boost=1.0, duration=20, override=False
        )
        assert not mock_set_boost_factor.called
        assert not mock_clear_boost.called
        assert paasta_cluster_boost.paasta_cluster_boost(
            action="set", pool="default", boost=1.0, duration=20, override=False
        )
        mock_set_boost_factor.assert_called_with(
            zk_boost_path=mock_get_zk_cluster_boost_path.return_value,
            region="useast1-dev",
            pool="default",
            factor=1.0,
            duration_minutes=20,
            override=False,
        )
        assert not mock_clear_boost.called
        assert paasta_cluster_boost.paasta_cluster_boost(
            action="clear", pool="default", boost=1.0, duration=20, override=False
        )
        mock_clear_boost.assert_called_with(
            zk_boost_path=mock_get_zk_cluster_boost_path.return_value,
            region="useast1-dev",
            pool="default",
        )