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 swingers.utils.auth import make_nonce
 
from swingers.tests.forms import DuckForm
from swingers.tests.models import Duck
 
    def test_base_audit_form(self):
        form = DuckForm({'name': 'test'})
        self.assertTrue(form.is_valid())
        self.assertTrue(hasattr(form, 'helper'))