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_identifysecondaryobjects.py   CellProfiler(Download)
        self.assertTrue(isinstance(m, cpm.Measurements))
        result = m.get_relationships(
            module.module_num, cpmi2.R_PARENT,
            module.primary_objects.value, module.objects_name.value)
        self.assertEqual(len(result), 0)
        self.assertTrue(isinstance(m, cpm.Measurements))
        result = m.get_relationships(
            module.module_num, cpmi2.R_PARENT,
            module.primary_objects.value, module.objects_name.value)
        self.assertEqual(len(result), 1)
            self.assertTrue(isinstance(m, cpm.Measurements))
            result = m.get_relationships(
                module.module_num, cpmi2.R_PARENT,
                module.primary_objects.value, module.objects_name.value)
            self.assertEqual(len(result), 2)