'Verifies behavior for themed sites which disables the post to LinkedIn
feature (for now)'

@mock.patch('openedx.core.djangoapps.theming.helpers.is_request_in_themed_site', mock.Mock(return_value=True))
def test_post_to_linkedin_site_specific(self):

    self._create_certificate('honor')
    config = LinkedInAddToProfileConfiguration(company_identifier='0_mC_o2MizqdtZEmkVXjH4eYwMj4DnkCWrZP_D9', enabled=True)
    config.save()
    self._check_linkedin_visibility(False)
