def __init__(self): services = [ "imagej.event.EventService", "imagej.object.ObjectService", "imagej.display.OverlayService", "imagej.display.DisplayService", "imagej.platform.PlatformService", "imagej.ext.plugin.PluginService", "imagej.ext.module.ModuleService", "imagej.ui.UIService", "imagej.tool.ToolService" ] self.context = IJ2.create_context(services)
def setUpClass(cls): cls.context = ij2.create_context(None)