def METHOD_NAME():
    with mock.patch(
        "paasta_tools.kubernetes.bin.paasta_cleanup_stale_nodes.get_all_nodes",
        autospec=True,
    ) as mock_get_all_nodes, mock.patch(
        "paasta_tools.kubernetes.bin.paasta_cleanup_stale_nodes.KubeClient",
        autospec=True,
    ), mock.patch(
        "paasta_tools.kubernetes.bin.paasta_cleanup_stale_nodes.is_node_ready",
        autospec=True,
    ) as mock_is_node_ready, mock.patch(
        "paasta_tools.kubernetes.bin.paasta_cleanup_stale_nodes.terminate_nodes",
        autospec=True,
    ) as mock_terminate_nodes, mock.patch(
        "paasta_tools.kubernetes.bin.paasta_cleanup_stale_nodes.parse_args",
        autospec=True,
    ) as mock_parse_args, mock.patch(
        "boto3.client", autospec=True
    ):
        mock_args = mock.MagicMock()
        mock_args.dry_run = True
        mock_parse_args.return_value = mock_args
        m1, m2, m3 = mock.MagicMock(), mock.MagicMock(), mock.MagicMock()
        mock_get_all_nodes.return_value = [m1, m2, m3]
        mock_is_node_ready.side_effect = [True, False, False]
        print(mock_terminate_nodes)
        main()
        # https://bugs.python.org/issue28380
        # we can't just use assert_not_called() here,
        # so inspect the list of calls instead
        assert len(mock_terminate_nodes.mock_calls) == 0