Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_run_imagej.py   CellProfiler(Download)
        def test_02_01_run_null_command(self):
            workspace, module = self.make_workspace()
            self.assertTrue(isinstance(module, R.RunImageJ))
            module.command_or_macro.value = R.CM_COMMAND
            module.command.value = "File|Close All"
            module.wants_to_set_current_image.value = False
            module.wants_to_get_current_image.value = False
            module.command_or_macro.value = R.CM_COMMAND
            module.command.value = "Edit|Invert..."
            module.on_setting_changed(module.command, workspace.pipeline)