-
Couldn't load subscription status.
- Fork 79
Fix #3230 #3244
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
Fix #3230 #3244
Conversation
|
No existing tests on email generation to speak of. Jobs in testing appear to be Processing Jobs type. As discussed we may consider this upgrade w/out tests. |
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.
@charles-cowart, I like the new _notify_updated_status and code looks good. However, after your changes, I think _notify_updated_status could become something like _generate_notification_message that will return a subject/message strings and if empty nothing will be sent via email (while if they are not empty an email will be sent). This separation will allow to test the subject/message generation; what do you think?
|
@antgonza I think it sounds good, although we still have an issue with simulating the jobs objects themselves. I can work on that for a test. |
|
I think (at minimum) you can use |
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.
Some minor comments.
|
BTW you need to pull from dev as the error you are finding has already fixed in that version. |
Status change emails now more informative