MountainDash / nonebot-bison

A nonebot2 plugin to repost social media posts to QQ group
https://nonebot-bison.netlify.app
MIT License
160 stars 33 forks source link

:white_check_mark: 使用 MockerFixture 限制测试时配置的变更范围 #586

Closed AzideCupric closed 2 months ago

AzideCupric commented 2 months ago

plugin_config的变更局限在单个测试函数里

netlify[bot] commented 2 months ago

Deploy Preview for nonebot-bison ready!

Name Link
Latest commit 98423df16bc3245c61a64f1feb59f413a25bf6af
Latest deploy log https://app.netlify.com/sites/nonebot-bison/deploys/667d8fcca084ec0008d1c435
Deploy Preview https://deploy-preview-586--nonebot-bison.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.73%. Comparing base (779fbd1) to head (98423df). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #586 +/- ## ======================================= Coverage 84.73% 84.73% ======================================= Files 81 81 Lines 3990 3990 ======================================= Hits 3381 3381 Misses 609 609 ``` | [Flag](https://app.codecov.io/gh/MountainDash/nonebot-bison/pull/586/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MountainDash) | Coverage Δ | | |---|---|---| | [smoke-test](https://app.codecov.io/gh/MountainDash/nonebot-bison/pull/586/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MountainDash) | `84.73% <ø> (ø)` | | 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=MountainDash#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.