Did I find the right examples for you? yes no

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

src/d/p/dpxdt-HEAD/dependencies/WTForms/tests/ext_sqlalchemy.py   dpxdt(Download)
    def test_validate(self):
        user_form = self.UserForm(DummyPostData(username=['spiderman']))
        self.assertTrue(user_form.validate())
 
    def test_wrong(self):
        user_form = self.UserForm(DummyPostData(username=['batman']))

src/l/u/LuoYunCloud-HEAD/lyweb/lib/WTForms-1.0.4/tests/ext_sqlalchemy.py   LuoYunCloud(Download)
    def test_validate(self):
        user_form = self.UserForm(DummyPostData(username=['spiderman']))
        self.assertTrue(user_form.validate())
 
    def test_wrong(self):
        user_form = self.UserForm(DummyPostData(username=['batman']))

src/w/t/WTForms-1.0.5/tests/ext_sqlalchemy.py   WTForms(Download)
    def test_validate(self):
        user_form = self.UserForm(DummyPostData(username=['spiderman']))
        self.assertTrue(user_form.validate())
 
    def test_wrong(self):
        user_form = self.UserForm(DummyPostData(username=['batman']))