-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add test case for send_notifications on VersionLockedError #4958
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
Add test case for send_notifications on VersionLockedError #4958
Conversation
I am not able to write test for it. Any help would be nice. |
Codecov Report
@@ Coverage Diff @@
## master #4958 +/- ##
==========================================
+ Coverage 76.8% 76.84% +0.04%
==========================================
Files 158 158
Lines 9937 9937
Branches 1241 1241
==========================================
+ Hits 7632 7636 +4
+ Misses 1973 1971 -2
+ Partials 332 330 -2
|
I'm not sure what you mean, I already see a test here. If you mean the codecov failure, that is because of the test code, you can see the codecov report here https://codecov.io/gh/rtfd/readthedocs.org/pull/4958/diff (the lines with dark red marks are missing coverage) |
@stsewd |
I think, it's ready for review. |
@agjohnson Can you explicitly specify what information you need before reviewing this? |
This looks 💯 |
Fixes #4840
This test checks that no notification is sent if the Version is locked.