Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/tests/test_actiongroups.py   ftw.lawgiver(Download)
    def test_registry_implements_interface(self):
        self.assertTrue(
            IActionGroupRegistry.implementedBy(ActionGroupRegistry),
            'ActionGroupRegistry does not provide IActionGroupRegistry')
 

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/tests/test_generator_integration.py   ftw.lawgiver(Download)
    def test_component_registered(self):
        self.assertTrue(queryUtility(IWorkflowGenerator),
                        'The IWorkflowGenerator utility is not registered.')
 
    def test_component_implements_interface(self):
        component = getUtility(IWorkflowGenerator)
        self.assertTrue(IWorkflowGenerator.providedBy(component))