'Create a course'

def setUp(self):

    super(CertificateSearchTests, self).setUp()
    self.course = CourseFactory()
    self.course.cert_html_view_enabled = True
    certificates = [{'id': 1, 'name': 'Name    1', 'description': 'Description    1', 'course_title': 'course_title_1', 'signatories': [], 'version': 1, 'is_active': True}]
    self.course.certificates = {'certificates': certificates}
    self.course.save()
    self.store.update_item(self.course, self.user.id)
