Conversation
…n_Messages merging my changes with development
bakobagassas
left a comment
There was a problem hiding this comment.
Why are we changing 6 test files ? I don't think most of those changes are necessary
I had to make those changes because they(the test files) were failing as a result of the new changes I added. |
|
Your tests now handle success cases, but could you consider adding an integration test for partial/full submission failure scenarios after you have added the fixes mentioned above? |
Since the main change in this pr was to put everything inside a mainDB.atomic block so that a form would not get submitted if email sending fails i do not think that it would be necessary testing the mainDB.atomic() block since that is peewee's behavior. |
Fixes issue #526
Changes:
Testing: