'Link titles are escaped.'

def test_escaped_title(self):

    index = create_pip_index(scratch_directory=self.scratch_directory, packages=['>Flocker-0.3.0-py2-none-any.whl'])
    expected = '<html>\nThis    is    an    index    for    pip\n<div><a    href="&gt;Flocker-0.3.0-py2-none-any.whl">&gt;Flocker-0.3.0-py2-none-any.whl</a><br    />\n</div></html>'
    self.assertEqual(expected, index.getContent())
