Closed vijaykannan21 closed 2 days ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
❌ PYTHON | flake8 | 2 | 2 | 0.48s | |
✅ PYTHON | isort | 2 | 1 | 0 | 0.33s |
❌ PYTHON | pylint | 2 | 5 | 2.23s | |
✅ REPOSITORY | gitleaks | yes | no | 1.39s |
See detailed report in MegaLinter reports
_Set VALIDATE_ALL_CODEBASE: true
in mega-linter.yml to validate all sources, not only the diff_
@vijaykannan21 can you make this a draft until it's ready to review?
:eyes: Purpose
•The set of unit tests for a function that checks the MTA-STS (Mail Transfer Agent Strict Transport Security) configurations kept in AWS S3 buckets for a list of domains is defined by the provided code. These tests are primarily used to verify that the function operates as intended in various contexts. These cases cover handling the lack of AWS credentials and retrieving MTA-STS configurations both successfully and unsuccessfully with the'mode: enforce' directive. To mimic various answers from the S3 service, the tests make use of the unittest.mock library and the unittest framework.
:recycle: What's Changed
•
:memo: Notes
•
:white_check_mark: Things to Check (Optional)