'The pip index file does not reference itself.'

def test_index_not_included(self):

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