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

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

src/f/t/ftw.file-1.8.1/ftw/file/tests/test_view.py   ftw.file(Download)
import transaction
 
from ftw.file.testing import FTW_FILE_FUNCTIONAL_TESTING
from plone.app.testing import TEST_USER_ID
from plone.app.testing import TEST_USER_NAME
class TestFileName(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):

src/f/t/ftw.file-1.8.1/ftw/file/tests/test_overlay.py   ftw.file(Download)
import transaction
 
from ftw.file.testing import FTW_FILE_FUNCTIONAL_TESTING
from plone.app.testing import TEST_USER_ID
from plone.app.testing import TEST_USER_NAME
class TestFileOverlay(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):

src/f/t/ftw.file-1.8.1/ftw/file/tests/test_filename.py   ftw.file(Download)
from ftw.file.testing import FTW_FILE_FUNCTIONAL_TESTING
from plone.app.testing import setRoles
from plone.app.testing import TEST_USER_ID
from StringIO import StringIO
from unittest2 import TestCase
class TestFileName(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):

src/f/t/ftw.file-1.8.1/ftw/file/tests/test_download_redirection.py   ftw.file(Download)
from Products.CMFCore.utils import getToolByName
from ftw.builder import Builder
from ftw.builder import create
from ftw.file.testing import FTW_FILE_FUNCTIONAL_TESTING
from ftw.testing import browser
class TestDownloadRedirection(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):
class TestDownloadRedirectToURLWithFilename(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):

src/f/t/ftw.file-1.8.1/ftw/file/tests/test_download.py   ftw.file(Download)
from ftw.file.testing import FTW_FILE_FUNCTIONAL_TESTING
from ftw.file.interfaces import IFileDownloadedEvent
from plone.app.testing import setRoles
from plone.app.testing import TEST_USER_ID
from StringIO import StringIO
class TestFileDownload(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):
class TestFileDownloadView(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):

src/f/t/ftw.file-1.8.1/ftw/file/tests/test_advanced_edit.py   ftw.file(Download)
import transaction
 
from ftw.file.testing import FTW_FILE_FUNCTIONAL_TESTING
from plone.app.testing import TEST_USER_ID
from plone.app.testing import TEST_USER_NAME
class TestAdvancedEdit(TestCase):
 
    layer = FTW_FILE_FUNCTIONAL_TESTING
 
    def setUp(self):