Skip to content

Commit 5dc61ad

Browse files
committed
Fix tests
1 parent f92eb73 commit 5dc61ad

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@ repos:
3535
rev: 'a66e98df7b4aeeb3724184b332785976d062b92e'
3636
hooks:
3737
- id: mypy
38-
language: system
3938
args: [ "--ignore-missing-imports" ]
4039
exclude: 'tests/'

reportportal_client/core/rp_requests.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,11 @@ def _create_request(**kwargs) -> dict:
465465
issue_payload: Any = None
466466
status = kwargs.get("status")
467467
issue = kwargs.get("issue")
468-
if issue is None and (status is not None and status.lower() == "skipped") and not kwargs.get("is_skipped_an_issue"):
468+
if (
469+
issue is None
470+
and (status is not None and status.lower() == "skipped")
471+
and not kwargs.get("is_skipped_an_issue")
472+
):
469473
issue_payload = {"issue_type": "NOT_ISSUE"}
470474
elif issue is not None:
471475
issue_payload = cast(Issue, issue).payload

0 commit comments

Comments
 (0)