'Test if JSON URLs are transformed into links well'

def test_json_with_url(self):

    data = {}
    data[u'"url":    "http://api/users/1/",    '] = u'&quot;url&quot;:    &quot;<a    href="http://api/users/1/">http://api/users/1/</a>&quot;,    '
    data[u'"foo_set":    [\n                "http://api/foos/1/"\n],    '] = u'&quot;foo_set&quot;:    [\n                &quot;<a    href="http://api/foos/1/">http://api/foos/1/</a>&quot;\n],    '
    self._urlize_dict_check(data)
