-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc3fdc3
commit a07d1f5
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from demisto_sdk.commands.common.constants import TYPE_PYTHON, TYPE_PWSH | ||
import pytest | ||
from unittest.mock import patch | ||
|
||
|
||
@patch('builtins.print') | ||
@pytest.mark.parametrize(argnames="return_exit_code, skipped_code, pkgs_type", | ||
argvalues=[(0b0, 0b0, [TYPE_PWSH, TYPE_PYTHON])]) | ||
def test_report_pass_lint_checks(mocker, return_exit_code: int, skipped_code: int, pkgs_type: list): | ||
from demisto_sdk.commands.lint import lint_manager | ||
lint_manager.LintManager.report_pass_lint_checks(return_exit_code, skipped_code, pkgs_type) | ||
assert mocker.call_count == 8 |