Skip to content

Commit

Permalink
Fix contribute autoresponder test.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmac committed Jul 25, 2013
1 parent bfbcc30 commit 021d7ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bedrock/mozorg/tests/test_views.py
Expand Up @@ -166,7 +166,8 @@ def test_with_autoresponse(self):
eq_(m.from_email, 'contribute-form@mozilla.org')
eq_(m.to, [self.contact])
eq_(m.cc, [])
eq_(m.extra_headers['Reply-To'], ','.join(['contribute@mozilla.org'] + cc))
eq_(m.extra_headers['Reply-To'], ','.join(['contribute@mozilla.org'] +
cc))

@patch.object(ReCaptchaField, 'clean', Mock())
@patch('bedrock.mozorg.email_contribute.jingo.render_to_string')
Expand Down Expand Up @@ -209,4 +210,5 @@ def test_with_autoresponse_locale(self, render_mock):
eq_(m.from_email, 'contribute-form@mozilla.org')
eq_(m.to, [self.contact])
eq_(m.cc, [])
eq_(m.extra_headers['Reply-To'], ','.join(cc))
eq_(m.extra_headers['Reply-To'], ','.join(['contribute@mozilla.org'] +
cc))

0 comments on commit 021d7ee

Please sign in to comment.