mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
tests: use a currently used string for intl test
This commit is contained in:
@@ -28,8 +28,8 @@ class intl_Tests(wtc.WidgetTestCase):
|
|||||||
def test_intlGetString(self):
|
def test_intlGetString(self):
|
||||||
# This tests if we're able to pull translations from the wx message catalogs
|
# This tests if we're able to pull translations from the wx message catalogs
|
||||||
loc = wx.Locale(wx.LANGUAGE_SPANISH)
|
loc = wx.Locale(wx.LANGUAGE_SPANISH)
|
||||||
st = loc.GetString('Next')
|
st = loc.GetString('&Next')
|
||||||
self.assertEqual(st, 'Siguiente')
|
self.assertEqual(st, '&Siguiente')
|
||||||
|
|
||||||
|
|
||||||
def test_intlConstants(self):
|
def test_intlConstants(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user