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

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

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_metadata.py   Products.Archetypes(Download)
            fobj = getattr(obj, accessor, None)
            if not fobj:
                self.fail('Missing accessor for field: %s' % str(field))
            self.assertTrue(hasattr(obj, accessor),
                            'Missing accessor %s' % accessor)

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_metadata.py   Products.Archetypes(Download)
            fobj = getattr(obj, accessor, None)
            if not fobj:
                self.fail('Missing accessor for field: %s' % str(field))
            self.assertTrue(hasattr(obj, accessor),
                            'Missing accessor %s' % accessor)

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/tests/test_security.py   Products.Archetypes(Download)
            self.folder.ps()
        except (ImportError, Unauthorized), e:
            self.fail(e)
 
    def checkUnauthorized(self, psbody):

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/tests/test_security.py   Products.Archetypes(Download)
            self.folder.ps()
        except (ImportError, Unauthorized), e:
            self.fail(e)
 
    def checkUnauthorized(self, psbody):

src/a/r/archetypes.configure-0.2/archetypes/configure/tests/test_zcml.py   archetypes.configure(Download)
                break
        else:
            self.fail("Registration failed.")
 
        self.assertEqual(fti['product'], 'archetypes.configure.tests')