2 from org
.libreoffice
.unotest
import UnoInProcess
4 #@unittest.skip("that seems to work")
5 class TestSetExpresion(unittest
.TestCase
):
11 cls
._uno
= UnoInProcess()
13 cls
._xDoc
= cls
._uno
.openEmptyWriterDoc()
16 def tearDownClass(cls
):
19 def test_set_expression(self
):
20 self
.__class
__._uno
.checkProperties(
21 self
.__class
__._xDoc
.createInstance("com.sun.star.text.textfield.SetExpression"),
24 "CurrentPresentation": "bar",
27 "IsShowFormula": False,
33 "IsFixedLanguage": False
38 if __name__
== '__main__':