def test_index(self):
        content, headers = self.viewer.index_page(self.log_files[0:1],
                                                  profile_id='current')
        self.assertTrue(-1 > content.find('<html>'))
        self.assertTrue(headers == [('content-type', 'text/html')])
dataset/ETHPy150Open openstack/swift/test/unit/common/middleware/test_xprofile.py/Test_html_viewer.test_index/swapped operands of `>`