'Check that course published signal is not sent when course key is for a ccx'

def test_signal_not_sent_for_ccx(self):

    course_key = CCXLocator.from_course_locator(self.course.id, self.ccx.id)
    with mock_signal_receiver(SignalHandler.course_published) as receiver:
        self.call_fut(course_key)
        self.assertEqual(receiver.call_count, 0)
