Skip to content

Commit

Permalink
chdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeleg committed Oct 18, 2023
1 parent 0b8b976 commit db4aeeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sca_package_2/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ def none() -> None:

bc_integration.set_s3_integration = none


os.chdir(str(Path(__file__).parent.parent.parent))
return Runner().run(root_folder=EXAMPLES_DIR)


Expand All @@ -1101,7 +1101,7 @@ def sca_package_report_dt(package_mocker: MockerFixture, scan_results_dt: Dict[s
scanner_mock = MagicMock()
scanner_mock.return_value.scan.return_value = scan_results_dt
package_mocker.patch("checkov.sca_package_2.runner.Scanner", side_effect=scanner_mock)

os.chdir(str(Path(__file__).parent.parent.parent))
return Runner().run(root_folder=EXAMPLES_DIR)


Expand Down

0 comments on commit db4aeeb

Please sign in to comment.