-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Exclude bounties reserved for specific users from new bounties email #4426
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4426 +/- ##
==========================================
+ Coverage 30.13% 30.13% +<.01%
==========================================
Files 208 208
Lines 16787 16784 -3
Branches 2254 2253 -1
==========================================
Hits 5058 5058
+ Misses 11535 11532 -3
Partials 194 194
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #4426 +/- ##
==========================================
+ Coverage 30.02% 30.17% +0.14%
==========================================
Files 209 209
Lines 16886 16886
Branches 2278 2278
==========================================
+ Hits 5070 5095 +25
+ Misses 11619 11594 -25
Partials 197 197
Continue to review full report at Codecov.
|
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.
Looks great! Just one note on the throwaway variables (take it or leave it, just my preference) and then the 3-space indent changes and we should be good to go. Nice work with the test!
app/marketing/tests/management/commands/test_new_bounty_email.py
Outdated
Show resolved
Hide resolved
Ah, okay! Learn something new every day. Thanks!
…On Fri, May 31, 2019 at 7:29 AM Dan Lipert ***@***.***> wrote:
Merged #4426 <#4426> into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4426?email_source=notifications&email_token=AEENFXABFIB2Y25W5E62ZCTPYED3JA5CNFSM4HNRL32KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORXTQX5A#event-2380729332>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEENFXCTRC5NK4WHIVIDGXTPYED3JANCNFSM4HNRL32A>
.
|
Description
The current new bounties email includes bounties reserved for specific users which is annoying because reserved bounties aren't actually actually available to the general Gitcoin population. This PR adds an exclusion rule to the query that pulls relevant bounties to ensure that only bounties a user can actually apply for are included.
Refers/Fixes
Addresses one element of #4308
Testing
Adds new test for new_bounties_email.py that incorporates test for new exclusion of reserved bounties from email.