diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/simpleTests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/simpleTests.py b/test/simpleTests.py index dca1e24c4..e8b9e69c4 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1985,6 +1985,11 @@ class TestStyleAttributes(unittest.TestCase): self.ed.FontLocale = testLocale self.assertEquals(self.ed.GetFontLocale(), testLocale) + def testCheckMonospaced(self): + self.assertEquals(self.ed.StyleGetCheckMonospaced(self.ed.STYLE_DEFAULT), 0) + self.ed.StyleSetCheckMonospaced(self.ed.STYLE_DEFAULT, 1) + self.assertEquals(self.ed.StyleGetCheckMonospaced(self.ed.STYLE_DEFAULT), 1) + class TestElements(unittest.TestCase): """ These tests are just to ensure that the calls set and retrieve values. They do not check the visual appearance of the style attributes. |