def test_get_translation_settings_invalid_value(self): service = BaseEmailService() self.assertEqual(service.get_translation(), None)
def test_get_translation_regular_english(self): service = BaseEmailService() self.assertEqual(service.get_translation(), 'en')
def test_get_translation_settings_short(self): service = BaseEmailService() self.assertEqual(service.get_translation(), 'de')
def test_get_translation_regular_german(self): service = BaseEmailService() self.assertEqual(service.get_translation(), 'de')