'Retrieving the history for an object using urlencoded form of primary
key should work.
Refs #12349, #18550.'

def test_get_history_view(self):

    response = self.client.get((u'/test_admin/admin/admin_views/modelwithstringprimarykey/%s/history/' % quote(self.pk)))
    self.assertContains(response, escape(self.pk))
    self.assertContains(response, u'Changed    something')
    self.assertEqual(response.status_code, 200)
