saltstack / salt-analytics-framework

Salt Analytics Framework
Apache License 2.0
9 stars 5 forks source link

Add `saf.utils.salt.MasterClient` and `saf.utils.salt.MinionClient` #71

Closed s0undt3ch closed 1 year ago

s0undt3ch commented 1 year ago

Fixes #70

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.60 :tada:

Comparison is base (89081d9) 83.88% compared to head (85bbdb4) 84.48%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #71 +/- ## ========================================== + Coverage 83.88% 84.48% +0.60% ========================================== Files 48 51 +3 Lines 1787 1869 +82 Branches 213 219 +6 ========================================== + Hits 1499 1579 +80 - Misses 228 230 +2 Partials 60 60 ``` | Flag | Coverage Δ | | |---|---|---| | Linux | `83.01% <100.00%> (+0.73%)` | :arrow_up: | | Windows | `80.61% <100.00%> (+0.85%)` | :arrow_up: | | core | `84.08% <100.00%> (+0.72%)` | :arrow_up: | | examples | `66.86% <ø> (-0.41%)` | :arrow_down: | | macOS | `83.74% <100.00%> (+0.42%)` | :arrow_up: | | src | `78.85% <100.00%> (+0.37%)` | :arrow_up: | | tests | `91.42% <100.00%> (+0.61%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=saltstack#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/saltstack/salt-analytics-framework/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=saltstack) | Coverage Δ | | |---|---|---| | [src/saf/utils/salt.py](https://app.codecov.io/gh/saltstack/salt-analytics-framework/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=saltstack#diff-c3JjL3NhZi91dGlscy9zYWx0LnB5) | `100.00% <100.00%> (ø)` | | | [tests/e2e/utils/test\_salt\_client.py](https://app.codecov.io/gh/saltstack/salt-analytics-framework/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=saltstack#diff-dGVzdHMvZTJlL3V0aWxzL3Rlc3Rfc2FsdF9jbGllbnQucHk=) | `100.00% <100.00%> (ø)` | | | [tests/unit/utils/test\_salt\_client.py](https://app.codecov.io/gh/saltstack/salt-analytics-framework/pull/71?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=saltstack#diff-dGVzdHMvdW5pdC91dGlscy90ZXN0X3NhbHRfY2xpZW50LnB5) | `100.00% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/saltstack/salt-analytics-framework/pull/71/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=saltstack)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.