'Ensures that the receiver function does nothing when the credentials API
configuration is not enabled.'

def test_programs_disabled(self, mock_is_learner_issuance_enabled, mock_task):

    handle_course_cert_awarded(**self.signal_kwargs)
    self.assertEqual(mock_is_learner_issuance_enabled.call_count, 1)
    self.assertEqual(mock_task.call_count, 0)
