'Checks that the Programs API is used correctly to determine completed
programs.'

def test_completion_check(self, mock_get_completed_programs, mock_get_certified_programs, mock_award_program_certificate):

    tasks.award_program_certificates.delay(self.student.username).get()
    mock_get_completed_programs.assert_called(self.site, self.student)
