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

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

src/c/i/cirb.blog-1.0a3/cirb/blog/tests/test_setup.py   cirb.blog(Download)
class TestSetup(base.IntegrationTestCase):
    """We tests the setup (install) of the addons. You should check all
    stuff in profile are well activated (browserlayer, js, content types, ...)
    """
 

src/c/i/cirb.blog-1.0a3/cirb/blog/tests/test_isblog.py   cirb.blog(Download)
class IntegrationTestIsBlog(base.IntegrationTestCase):
    def test_isblog(self):
        isblog = self.folder.restrictedTraverse('@@cirb_blog_isblog')
        self.assertFalse(isblog())
        alsoProvides(self.folder, IBlogContainer)

src/c/i/cirb.blog-1.0a3/cirb/blog/tests/test_blogview.py   cirb.blog(Download)
class IntegrationTestBlogView(base.IntegrationTestCase):
 
    def setUp(self):
        super(IntegrationTestBlogView, self).setUp()
        self.folder.restrictedTraverse('@@cirb_blog_setup').mark()