osuosl / formsender

Simple script to email form submissions.
Apache License 2.0
3 stars 1 forks source link

Prevent tests from sending an email every time they are ran #17

Closed matthewrsj closed 9 years ago

matthewrsj commented 9 years ago

Tests sent an email every time on_form_page was called since send_email was subsequently called. Mocking the sendmail function fixes this.

Kennric commented 9 years ago

+1