-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根据keyspace获取databases num时,需要加1 #2573
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2573 +/- ##
==========================================
+ Coverage 76.82% 76.86% +0.04%
==========================================
Files 117 117
Lines 16073 16084 +11
==========================================
+ Hits 12348 12363 +15
+ Misses 3725 3721 -4 ☔ View full report in Codecov by Sentry. |
加 mock 就好了啊,你正好还可以测试下你的case |
本地单元测试时,总是报这个错。 “报auth_group表不存在。” 2024-04-10 18:14:34,861 - environ.environ - WARNING - Invalid line: AUTH_LDAP_ALWAYS_UPDATE_USER = True sql\engines\tests.py =================================== ERRORS ==================================== self = <django.db.backends.utils.CursorWrapper object at 0x0000025B59F3F2D0>
c:\Users\Administrator\archery_venv\Lib\site-packages\django\db\backends\utils.py:89: |
修改测试方法
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100% 覆盖率👏
fix #2570