Added example of using `name` param with extra (#115)
This commit is contained in:
parent
0fd0d69336
commit
7a5b522436
|
@ -128,6 +128,14 @@ conftest.py file:
|
|||
extra.append(pytest_html.extras.html('<div>Additional HTML</div>'))
|
||||
report.extra = extra
|
||||
|
||||
You can also specify the :code:`name` argument for all types other than :code:`html` which will change the title of the
|
||||
created hyper link:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
extra.append(pytest_html.extras.text('some string', name='Different title'))
|
||||
|
||||
|
||||
Modifying the results table
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue