Skip to content

Commit

Permalink
Unify the test
Browse files Browse the repository at this point in the history
  • Loading branch information
fantom0005 committed May 23, 2024
1 parent c54c38d commit 4bc7f25
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/allure_pytest_bdd/acceptance/allure_tags_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
has_suite,
has_sub_suite,
has_tag,
has_severity,
)
from allure_commons_test.report import has_test_case
from allure_commons_test.result import (
Expand Down Expand Up @@ -104,13 +105,13 @@ def feature_content():
@allure.severity('critical')
""".strip(),
(
has_label("as_id", 123),
has_severity("critical"),
),
),
(
"manual_label",
"""
@allure.severity('critical')
@allure.manual
""".strip(),
(
has_label("ALLURE_MANUAL", True),
Expand Down Expand Up @@ -162,6 +163,7 @@ def test_simple_passed_scenario_with_allure_tags(
):
steps_content = f"""
import allure
import pytest
from pytest_bdd import scenario, given, when, then
{decorators}
Expand Down

0 comments on commit 4bc7f25

Please sign in to comment.