nonebot / nonebug

NoneBot2 测试框架 / NoneBot2 test framework
https://nonebot.dev/docs/best-practice/testing/
MIT License
28 stars 6 forks source link

Feature: 适配 Pydantic V2 并放宽 pytest 限制 #22

Closed he0119 closed 8 months ago

he0119 commented 8 months ago

测试目前直接在 pyd2 上跑的,我直接改成 pyd2 的形式了,没做兼容。

codecov[bot] commented 8 months ago

Codecov Report

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

Project coverage is 93.76%. Comparing base (80cce51) to head (16bbb19).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #22 +/- ## ========================================== - Coverage 93.92% 93.76% -0.17% ========================================== Files 14 14 Lines 461 449 -12 ========================================== - Hits 433 421 -12 Misses 28 28 ``` | [Flag](https://app.codecov.io/gh/nonebot/nonebug/pull/22/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nonebot) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nonebot/nonebug/pull/22/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nonebot) | `93.76% <100.00%> (-0.17%)` | :arrow_down: | 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=nonebot#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.

yanyongyu commented 8 months ago

nb的测试是pyd v1和 v2 一起跑的

he0119 commented 8 months ago

nb的测试是pyd v1和 v2 一起跑的

完了,这就改(

不对啊,nonebug 自己的测试只跑了 pyd2 的。