'The right link is displayed if view_on_site is a callable'

def test_callable(self):

    response = self.client.get(reverse('admin:admin_views_worker_change', args=(self.w1.pk,)))
    self.assertContains(response, ('"/worker/%s/%s/"' % (self.w1.surname, self.w1.name)))
