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

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

src/i/s/IssueTrackerProduct-0.14.2/IssueTrackerOpenID/tests/testOpenID.py   IssueTrackerProduct(Download)
import os, sys
if __name__ == '__main__':
    execfile(os.path.join(sys.path[0], 'framework.py'))
 
from AccessControl import User

src/z/o/Zope2-2.13.22/src/ZServer/tests/test_config.py   Zope2(Download)
    def setUp(self):
        from AccessControl import User
        self.__emergency_user = User.emergency_user
 
    class FakeUser:
        def _getPassword(self):
            return "foo"
 
    def tearDown(self):
        from AccessControl import User
    def setUser(self, null):
        from AccessControl import User
        u = self.FakeUser()
        if null:
            u.__null_user__ = True

src/i/n/infrae.testing-1.3/src/infrae/testing/zope2.py   infrae.testing(Download)
from Zope2.App.ClassFactory import ClassFactory
from Zope2.App.startup import TransactionsManager
import AccessControl.User
import App.ZApplication
import OFS.Application

Previous  1 | 2