From a22b43080af4e474f3e3c4e9b4bb5ac83d11b545 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sat, 10 Sep 2022 16:50:28 +0100 Subject: [PATCH] Fix Russian calendar unit test The translation of "Julian" is hardcoded and the test and will fail if the translation is updated. --- gramps/gen/datehandler/test/datedisplay_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/datehandler/test/datedisplay_test.py b/gramps/gen/datehandler/test/datedisplay_test.py index 05d0b484d..962d0110f 100644 --- a/gramps/gen/datehandler/test/datedisplay_test.py +++ b/gramps/gen/datehandler/test/datedisplay_test.py @@ -45,7 +45,7 @@ class DateDisplayCalendarTest(DateDisplayTest): self.assert_map_key_val(self.display.calendar, Date.CAL_GREGORIAN, "") def test_calendar_julian_RU(self): - self.assert_map_key_val(self.display_RU.calendar, Date.CAL_JULIAN, 'юлианский') + self.assert_map_key_val(self.display_RU.calendar, Date.CAL_JULIAN, 'Юлианский') # This class tests common functionality in DateDisplay as applied to RU, # and so it is coupled to translated strings and inflection names