'Destination links are quoted.'

def test_quoted_destination(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="&quot;Flocker-0.3.0-py2-none-any.whl">"Flocker-0.3.0-py2-none-any.whl</a><br    />\n</div></html>'
    self.assertEqual(expected, index.getContent())
