Fix header cells order on the Modifying The Results Table section

This commit is contained in:
Tomer Cohen 2017-09-04 12:12:12 +03:00 committed by Dave Hunt
parent 461f212d04
commit ef6c05461a
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ column:
@pytest.mark.optionalhook
def pytest_html_results_table_header(cells):
cells.insert(2, html.th('Description'))
cells.insert(0, html.th('Time', class_='sortable time', col='time'))
cells.insert(1, html.th('Time', class_='sortable time', col='time'))
cells.pop()
@pytest.mark.optionalhook