diff options
author | Tulio Casagrande <tuliocasagrande@gmail.com> | 2017-01-20 09:30:54 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 09:30:54 -0200 |
commit | 468bc98a3b1e0c92bffefa24c199b52f9f15b5dd (patch) | |
tree | d94d10a767fefe8b72128689ac7131d07bb13194 /service | |
parent | bf6a45b4a0b2b5d35d44db2e07ab1c2258e96086 (diff) | |
parent | 7a7e6b7400f6e56c23e74bc96216ab620628f1c9 (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.py | 6 |
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) |