def METHOD_NAME(self):
    """Ensure the approve_testing task is called."""
    cli = CliRunner()
    with patch('bodhi.server.tasks.approve_testing_task', self.task_mock):
        result = cli.invoke(compat.approve_testing)
    assert result.exit_code == 0
    self.task_mock.delay.assert_called_with()
    self.task_result.get.assert_called_with(propagate=True)