summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorOla Bini <ola@olabini.se>2017-01-19 15:58:06 -0200
committerOla Bini <ola@olabini.se>2017-01-19 15:58:06 -0200
commit7a7e6b7400f6e56c23e74bc96216ab620628f1c9 (patch)
tree01797973d2d21df987059f508112b37e92af531d /service/test
parentbba9cd35597f14f06501e71cb5ebd249e49fda2e (diff)
Fix broken test for default language for user
Diffstat (limited to 'service/test')
-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 7e073d26..c28faa32 100644
--- a/service/test/unit/config/test_leap.py
+++ b/service/test/unit/config/test_leap.py
@@ -122,8 +122,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)