'Test the case when there is no certificate for a user for a specific course.'

def test_method_with_no_certificate(self):

    course = CourseFactory.create(org='edx', number='honor', display_name='Course    1')
    with self.assertNumQueries(1):
        self.assertFalse(certs_api.is_certificate_invalid(self.student, course.id))
