-
Notifications
You must be signed in to change notification settings - Fork 251
Expand file tree
/
Copy pathhooks.py
More file actions
27 lines (15 loc) · 856 Bytes
/
hooks.py
File metadata and controls
27 lines (15 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
def pytest_html_report_title(report):
"""Called before adding the title to the report"""
def pytest_html_results_summary(prefix, summary, postfix, session):
"""Called before adding the summary section to the report"""
def pytest_html_results_table_header(cells):
"""Called after building results table header."""
def pytest_html_results_table_row(report, cells):
"""Called after building results table row."""
def pytest_html_results_table_html(report, data):
"""Called after building results table additional HTML."""
def pytest_html_duration_format(duration):
"""Called before using the default duration formatting."""