'Ensure that, on receipt of a score_(re)set signal from the Submissions API
that does not have the correct kwargs, the courseware model does not
generate a signal.'

@ddt.data([submissions_score_set_handler, SUBMISSION_SET_KWARGS], [submissions_score_reset_handler, SUBMISSION_RESET_KWARGS])
@ddt.unpack
def test_score_set_missing_kwarg(self, handler, kwargs):

    for missing in kwargs:
        local_kwargs = kwargs.copy()
        del local_kwargs[missing]
        with self.assertRaises(KeyError):
            handler(None, **local_kwargs)
        self.signal_mock.assert_not_called()
