Fixes broken tests.

This commit is contained in:
Philip Wafula 2022-01-10 10:23:53 +03:00
parent b8f6ccd896
commit 45af69b271
Signed by untrusted user: mango-habanero
GPG Key ID: B00CE9034DA19FB7
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ from cic_ussd.notifications import Notifier
@pytest.mark.parametrize("key, preferred_language, recipient, expected_message", [
("ussd.exit", "en", "+254712345678", "END Thank you for using the service."),
("ussd.exit", "sw", "+254712345678", "END Asante kwa kutumia huduma.")
("ussd.exit", "sw", "+254712345678", "END Asante kwa kutumia huduma")
])
def test_send_sms_notification(celery_session_worker,
expected_message,

View File

@ -17,5 +17,5 @@ def test_translation_for(set_locale_files):
key='ussd.exit_invalid_request',
preferred_language='sw'
)
assert swahili_translation == 'END Chaguo si sahihi.'
assert swahili_translation == 'END Chaguo si sahihi'
assert english_translation == 'END Invalid request.'