Closed vijaykannan21 closed 3 months ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
❌ PYTHON | flake8 | 1 | 9 | 0.4s | |
✅ PYTHON | isort | 1 | 1 | 0 | 0.41s |
❌ PYTHON | pylint | 1 | 7 | 2.21s | |
✅ REPOSITORY | gitleaks | yes | no | 1.32s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
This Python script is unit test suits for the Check_mta_sts this unit test framework to define and run the test. This Script includes two test cases.
:eyes: Purpose
Uses Unitest.mock.patch to mock the boto3.client method
Verifies that the S3 client is correctly initialized with the AWS credentials from Check_mta_sts.
Test Domains
Check that the domains list in check_mta_sts matches an expected list of domain names.
:recycle: What's Changed
•
:memo: Notes
•
:white_check_mark: Things to Check (Optional)