Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 799283. Fix tests.

  • Loading branch information...
commit 708a193c2dfef0b86a5dd614a3d07b78388b2af8 1 parent c69b097
@pmclanahan pmclanahan authored Rik committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/mozorg/tests/test_helper.py
View
4 apps/mozorg/tests/test_helper.py
@@ -261,7 +261,7 @@ def test_post_correct_form(self, sub_mock):
'newsletter': 'mozilla-and-you',
'email': 'foo@bar.com',
'country': 'us',
- 'lang': 'en-US',
+ 'lang': 'en',
'fmt': 'H',
'privacy': 'Y',
'source_url': 'http://allizom.com/en-US/base/',
@@ -271,7 +271,7 @@ def test_post_correct_form(self, sub_mock):
assert_false(doc('form#footer-email-form'))
ok_(doc('div#footer-email-form.thank'))
sub_mock.assert_called_with('foo@bar.com', 'mozilla-and-you',
- format='H', country='us', lang='en-US',
+ format='H', country='us', lang='en',
source_url='http://allizom.com/en-US/base/')
@patch.object(basket, 'subscribe')
Please sign in to comment.
Something went wrong with that request. Please try again.