Did I find the right examples for you? yes no

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

src/p/r/Products.Silva-3.0.4/Products/Silva/tests/test_extension.py   Products.Silva(Download)
 
        # Test get_name_for_class.
        from Products.Silva.Link import Link
        self.assertEquals(extensionRegistry.get_name_for_class(Link), 'Silva')
        self.assertEquals(extensionRegistry.get_name_for_class(URLopener), None)