'Performs assertions on the Dashboard'

def _check_linkedin_visibility(self, is_visible):

    response = self.client.get(reverse('dashboard'))
    if is_visible:
        self.assertContains(response, u'Add    Certificate    to    LinkedIn    Profile')
    else:
        self.assertNotContains(response, u'Add    Certificate    to    LinkedIn    Profile')
