summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorTulio Casagrande <tuliocasagrande@gmail.com>2017-01-20 09:30:54 -0200
committerGitHub <noreply@github.com>2017-01-20 09:30:54 -0200
commit468bc98a3b1e0c92bffefa24c199b52f9f15b5dd (patch)
treed94d10a767fefe8b72128689ac7131d07bb13194 /service
parentbf6a45b4a0b2b5d35d44db2e07ab1c2258e96086 (diff)
parent7a7e6b7400f6e56c23e74bc96216ab620628f1c9 (diff)
Merge pull request #916 from olabini/fix-broken-assert-welcome-email
Fix broken test for default language for user
Diffstat (limited to 'service')
-rw-r--r--service/test/unit/config/test_leap.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test/unit/config/test_leap.py b/service/test/unit/config/test_leap.py
index 81917a72..5a68c53a 100644
--- a/service/test/unit/config/test_leap.py
+++ b/service/test/unit/config/test_leap.py
@@ -138,8 +138,8 @@ class TestUserBootstrap(unittest.TestCase):
self.leap_session.mail_store = mail_store
mock_create_leap_session.return_value = self.leap_session
self._service_factory.has_session.return_value = False
- some_language = 'en-US'
+ default_language = 'pt-BR'
- self._user_bootstrap.setup(self.user_auth, self.password, '')
+ self._user_bootstrap.setup(self.user_auth, self.password)
- mock_add_welcome_email.called_once_with(mail_store, some_language)
+ mock_add_welcome_email.assert_called_once_with(mail_store, default_language)