def test_translation_data(self) -> None:
    user = self.example_user('hamlet')
    user.default_language = 'es'
    user.save()
    self.login(user.email)
    result = self._get_home_page()
    self.assertEqual(result.status_code, 200)
    page_params = self._get_page_params(result)
    self.assertEqual(page_params['default_language'], 'es')
def test_translation_data(self) -> None:
    user = self.example_user('hamlet')
    user.default_language = 'es'
    user.save()
    self.login(user.email)
    result = self._get_home_page()
    self.assertEqual(result.status_code, 200)
    page_params = self._get_page_params(result)
    self.assertEqual(page_params['default_language'], 'es')