diff --git a/tcms/testruns/tests/test_views.py b/tcms/testruns/tests/test_views.py index 17bc5b3f37..20f9e86314 100644 --- a/tcms/testruns/tests/test_views.py +++ b/tcms/testruns/tests/test_views.py @@ -406,7 +406,7 @@ def test_refuse_to_remove_if_missing_user(self): self.assertContains( response, - 'The user you typed does not exist in database') + _('The user you typed does not exist in database')) self.assert_cc(response, [self.cc_user_2, self.cc_user_3]) @@ -416,7 +416,7 @@ def test_refuse_to_add_if_missing_user(self): self.assertContains( response, - 'The user you typed does not exist in database') + _('The user you typed does not exist in database')) self.assert_cc(response, [self.cc_user_2, self.cc_user_3]) @@ -427,7 +427,7 @@ def test_refuse_if_user_not_exist(self): self.assertContains( response, - 'The user you typed does not exist in database') + _('The user you typed does not exist in database')) self.assert_cc(response, [self.cc_user_2, self.cc_user_3])