'Return True if scores are sent to the LTI consumer when the command is
called with the specified arguments.'

def _scores_sent_with_args(self, *args, **kwargs):

    cmd = resend_lti_scores.Command()
    self._configure_lti(UsageKey.from_string(self.lti_block))
    with patch(u'lti_provider.outcomes.send_score_update') as mock_update:
        cmd.handle(*args, **kwargs)
        return mock_update.called
