Did I find the right examples for you? yes no

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

src/d/j/django-swingers-1.1.1/swingers/sauth/tests.py   django-swingers(Download)
from django.test.utils import override_settings
 
from swingers.sauth.backends import PersonaBackend, EmailBackend
from swingers.sauth.models import ApplicationLink, Token
from swingers.utils.auth import make_nonce
    def setUp(self):
        patcher = patch('swingers.sauth.backends.LDAPBackend')
        self.ldap = patcher.start()
        self.backend = EmailBackend()
        self.addCleanup(patcher.stop)