Fix Russian calendar unit test

The translation of "Julian" is hardcoded and the test and will
fail if the translation is updated.
This commit is contained in:
Nick Hall 2022-09-10 16:50:28 +01:00
parent 42a216c742
commit a22b43080a

View File

@ -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