'Test that get_certificate_footer_context from certificates api returns
data customized according to site branding.'

@set_microsite(settings.MICROSITE_CONFIGURATION['test_site']['domain_prefix'])
def test_certificate_footer_data(self):

    CourseModeFactory.create(course_id=self.COURSE_KEY, mode_slug=CourseMode.HONOR)
    data = certs_api.get_certificate_footer_context()
    self.assertItemsEqual(data.keys(), ['company_about_url', 'company_privacy_url', 'company_tos_url'])
    self.assertIn(settings.MICROSITE_CONFIGURATION['test_site']['urls']['ABOUT'], data['company_about_url'])
    self.assertIn(settings.MICROSITE_CONFIGURATION['test_site']['urls']['PRIVACY'], data['company_privacy_url'])
    self.assertIn(settings.MICROSITE_CONFIGURATION['test_site']['urls']['TOS_AND_HONOR'], data['company_tos_url'])
