Did I find the right examples for you? yes no

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

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_identifysecondaryobjects.py   CellProfiler(Download)
        p.add_module(module)
        workspace = cpw.Workspace(p,module,i_s,o_s,m,i_l)
        module.run(workspace)
        self.assertTrue(OUTPUT_OBJECTS_NAME in m.get_object_names())
        self.assertTrue("Image" in m.get_object_names())
        p.add_module(module)
        workspace = cpw.Workspace(p,module,i_s,o_s,m,i_l)
        module.run(workspace)
        self.assertTrue(OUTPUT_OBJECTS_NAME in m.get_object_names())
        self.assertTrue("Image" in m.get_object_names())
        p.add_module(module)
        workspace = cpw.Workspace(p,module,i_s,o_s,m,i_l)
        module.run(workspace)
        self.assertTrue(OUTPUT_OBJECTS_NAME in m.get_object_names())
        self.assertTrue("Image" in m.get_object_names())
        p.add_module(module)
        workspace = cpw.Workspace(p,module,i_s,o_s,m,i_l)
        module.run(workspace)
        self.assertTrue(OUTPUT_OBJECTS_NAME in m.get_object_names())
        self.assertTrue("Image" in m.get_object_names())
        p.add_module(module)
        workspace = cpw.Workspace(p,module,i_s,o_s,m,i_l)
        module.run(workspace)
        self.assertTrue(OUTPUT_OBJECTS_NAME in m.get_object_names())
        self.assertTrue("Image" in m.get_object_names())