Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add pytest-jira #597

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pytest-timeout
pytest-xdist
pytest-cov
pytest-check
pytest-jira
dynaconf==3.1.11
freezegun
oauthlib>=3.2.0
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/test_non_alpha_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
DEFAULT_TIMEOUT = 15


@pytest.mark.jira("AAP-16038")
@pytest.mark.e2e
@pytest.mark.asyncio
async def test_non_alpha_numeric_keys():
Expand Down
3 changes: 3 additions & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -2245,6 +2245,7 @@ async def test_78_complete_retract_fact():
]


@pytest.mark.jira("AAP-9829")
@pytest.mark.parametrize("err_msg,err", WORKFLOW_TEMPLATE_ERRORS)
@pytest.mark.asyncio
async def test_79_workflow_job_template_exception(err_msg, err):
Expand Down Expand Up @@ -2291,6 +2292,7 @@ async def test_79_workflow_job_template_exception(err_msg, err):
assert set(action.keys()).issuperset(required_keys)


@pytest.mark.jira("AAP-9829")
@pytest.mark.asyncio
async def test_79_workflow_job_template():
ruleset_queues, event_log = load_rulebook(
Expand Down Expand Up @@ -2379,6 +2381,7 @@ async def test_81_match_single_rule():
await validate_events(event_log, **checks)


@pytest.mark.jira("AAP-16038")
@pytest.mark.asyncio
async def test_82_non_alpha_keys():
ruleset_queues, event_log = load_rulebook("examples/82_non_alpha_keys.yml")
Expand Down