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

All Samples(73)  |  Call(35)  |  Derive(0)  |  Import(38)

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_provider.py   ptah_crowd(Download)
    def test_authenticate(self):
        from ptah_crowd.provider import \
             CrowdAuthProvider, CrowdFactory, CrowdUser
 
        provider = CrowdAuthProvider()
                {'login': 'test', 'password': '12345'}))
 
        user = CrowdUser(title='test',
                         login='test',
                         email='test@ptahproject.org',
    def test_get_bylogin(self):
        from ptah_crowd.provider import \
             CrowdAuthProvider, CrowdFactory, CrowdUser
 
        provider = CrowdAuthProvider()
        self.assertIsNone(provider.get_principal_bylogin('test'))
 
        user = CrowdUser(title='test', login='test',
    def test_crowd_user_ctor(self):
        from ptah_crowd.provider import CrowdUser
 
        user = CrowdUser(title='user-name', login='user-login',
                         email='user-email', password='passwd')

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_login.py   ptah_crowd(Download)
    def test_suspended_not(self):
        from ptah_crowd import login
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login',
    def test_suspended(self):
        from ptah_crowd import login
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login',
    def test_logout(self):
        from ptah_crowd import login
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login',

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_validation.py   ptah_crowd(Download)
    def test_validation_registered_unvalidated(self):
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
        CrowdFactory().add(user)
    def test_validation_registered_no_validation(self):
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
        CrowdFactory().add(user)
    def test_validation_added(self):
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
        CrowdFactory().add(user)

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_resetpassword.py   ptah_crowd(Download)
    def test_resetpassword(self):
        from ptah_crowd.resetpassword import ResetPassword
        from ptah_crowd.resetpassword import ResetPasswordTemplate
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
    def test_resetpassword_form_update(self):
        from ptah_crowd.resetpassword import ResetPasswordForm
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
    def test_resetpassword_form_change_errors(self):
        from ptah_crowd.resetpassword import ResetPasswordForm
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_join.py   ptah_crowd(Download)
    def test_join_error(self):
        from ptah_crowd.registration import Registration
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
    def test_join(self):
        import ptah
        from ptah_crowd.registration import Registration
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
    def test_join_unvalidated(self):
        from ptah_crowd.registration import Registration
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_user.py   ptah_crowd(Download)
    def _user(self):
        from ptah_crowd.provider import CrowdUser, CrowdFactory
        user = CrowdUser(title='name', login='ptah@local', email='ptah@local')
        CrowdFactory().add(user)
        return user
    def test_modify_user_remove(self):
        from ptah_crowd.user import ModifyUserForm
        from ptah_crowd.provider import CrowdUser
 
        user = self._user()
    def _user(self):
        from ptah_crowd.provider import CrowdUser, CrowdFactory
        user = CrowdUser(title='name', login='ptah@local', email='ptah@local')
        CrowdFactory().add(user)
        return user

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_module.py   ptah_crowd(Download)
    def test_manage_module_get(self):
        from ptah_crowd.module import CrowdModule
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
    def _make_user(self):
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')
        CrowdFactory().add(user)

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_validators.py   ptah_crowd(Download)
    def test_check_login(self):
        from ptah_crowd import login
        from ptah_crowd.provider import CrowdUser, CrowdFactory
 
        user = CrowdUser(title='name', login='login', email='email')

src/p/t/ptah_crowd-0.1/ptah_crowd/__init__.py   ptah_crowd(Download)
# ptah_crowd package
 
from ptah_crowd.provider import CrowdUser
from ptah_crowd.provider import CrowdApplication
from ptah_crowd.provider import CrowdFactory

src/p/t/ptah_crowd-0.1/ptah_crowd/views.py   ptah_crowd(Download)
from ptah_crowd.settings import _
from ptah_crowd.module import CrowdModule
from ptah_crowd.provider import CrowdUser, CrowdFactory
from ptah_crowd.memberprops import MemberProperties
 

  1 | 2  Next