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

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

src/c/o/collective.groupspace.content-1.0.2/collective/groupspace/content/tests/test___init__.py   collective.groupspace.content(Download)
import unittest
from base import TestCase
from collective.groupspace.content import initialize
 
class TestInitialize(TestCase):
                self.permission = permission
        obj = Dummy()
        initialize(obj)
        self.failUnless(obj.permission == "collective.groupspace.content: Add GroupSpace")
        self.failUnless(obj.icon == None)