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

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

src/a/r/archetypes.uploadreferencewidget-0.2.1/archetypes/uploadreferencewidget/tests/URWTestCase.py   archetypes.uploadreferencewidget(Download)
from Products.PloneTestCase import PloneTestCase
 
from archetypes.uploadreferencewidget.config import PRODUCT_DIR
 
 
    def _setup(self):
        PloneTestCase.PloneTestCase._setup(self)
        self.IMG = open(os.path.join(PRODUCT_DIR, 'tests', 'enfold.gif'))
        self.PDF = open(os.path.join(PRODUCT_DIR, 'tests', 'enfold.pdf'))