Did I find the right examples for you? yes no

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

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_exporttodatabase.py   CellProfiler(Download)
        mapping.add(k1)
        mapping.add(k2)
        mapping.do_mapping()
        self.assertEqual(mapping[k1],'bABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABCDEFGHIJABC')
        self.assertEqual(mapping[k2],'ebcdefghijkABCDFHIJABCDEFGHIJABCFGHIACDEFGHJABCDEFHIJABCDEFIJABC')
        mapping.add(k1)
        mapping.add(k2)
        mapping.do_mapping()
        self.assertTrue(mapping[k1].startswith('leaveme_'))
        self.assertTrue(mapping[k2].startswith('keepmee_'))