def setUpClass(cls): cls.context = pyuno.getComponentContext() global testEnvironmentInitialized if not testEnvironmentInitialized: pyuno.private_initTestEnvironment() testEnvironmentInitialized = True
def setUpClass(cls): cls.context = pyuno.getComponentContext() pyuno.private_initTestEnvironment()