aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/simpleTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/simpleTests.py')
-rw-r--r--test/simpleTests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py
index 89e2ff69c..63efc8019 100644
--- a/test/simpleTests.py
+++ b/test/simpleTests.py
@@ -1916,6 +1916,13 @@ class TestStyleAttributes(unittest.TestCase):
self.ed.SetDefaultFoldDisplayText(0, b"...")
self.assertEquals(self.ed.GetDefaultFoldDisplayText(), b"...")
+ def testFontLocale(self):
+ initialLocale = "en-us".encode("UTF-8")
+ testLocale = "zh-Hans".encode("UTF-8")
+ self.assertEquals(self.ed.GetFontLocale(), initialLocale)
+ self.ed.FontLocale = testLocale
+ self.assertEquals(self.ed.GetFontLocale(), testLocale)
+
class TestIndices(unittest.TestCase):
def setUp(self):
self.xite = Xite.xiteFrame