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

temp report_pytest #4634

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
- -v
- --override-ini='asyncio_mode=auto'
- --rootdir=/src
- --junitxml=/src/.pre-commit/pytest-junit/.report_pytest.xml
- --junitxml=/src/.pre-commit/pytest-junit/report_pytest.xml
- --color=yes
copy_files:
- Tests/scripts/dev_envs/pytest/conftest.py
Expand Down
2 changes: 1 addition & 1 deletion demisto_sdk/commands/pre_commit/pre_commit_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def run(
stdout=subprocess.PIPE,
universal_newlines=True,
)
logger.info(git_diff.stdout)
logger.info("{}", git_diff.stdout) # noqa: RM106
return return_code

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion demisto_sdk/scripts/merge_pytest_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def merge_junit_reports():
report = reports[0]
for rep in reports[1:]:
report += rep
report.write(str(CONTENT_PATH / ".report_pytest.xml"))
report.write(str(CONTENT_PATH / "report_pytest.xml"))
for file in report_files:
Path(file).unlink(missing_ok=True)
logger.info("Junit report was successfully merged.")
Expand Down
Loading