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/a/r/archetypes.uploadreferencewidget-0.2.1/archetypes/uploadreferencewidget/tests/test_widget.py   archetypes.uploadreferencewidget(Download)
from archetypes.uploadreferencewidget.widget import UploadReferenceWidget
 
from archetypes.uploadreferencewidget.tests.utils import FakeRequest
from archetypes.uploadreferencewidget.tests.utils import FakeFileUpload
 
        self.field.isMetadata = False
        self.setRoles('Manager')
        self.request = FakeRequest()
 
    def uploadContentToPath(self, obj, path, destination):