Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
betapl3b committed Feb 13, 2024
1 parent 202329f commit f35dbe7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions allure-pytest/examples/display_name/display_name.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ Titles support placeholders for arguments.
... @pytest.mark.parametrize('param', [False])
... def test_display_name_template(param):
... assert param

>>> @allure.title("A some test title with ParameterSet id {param_id}")
... @pytest.mark.parametrize('param', [False], ids=["some_id"])
... def test_display_name_parameter_set_id(param):
... assert param

0 comments on commit f35dbe7

Please sign in to comment.