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

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

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_twill.py   learnpython.in.ua(Download)
from learnpython.app import pages
 
from .common import TEST_COMMENTS, TEST_EMAIL, TEST_MESSAGE, TEST_NAME, \
    TEST_PHONE, TEST_SKYPE, TEST_SUBJECT, TestCase, Twill
 
            c.find('This field is required.')
 
            c.fv(1, 'name', TEST_NAME)
            c.fv(1, 'email', '')
            c.fv(1, 'message', TEST_MESSAGE)
            c.find('This field is required.')
 
            c.fv(1, 'name', TEST_NAME)
            c.fv(1, 'email', TEST_EMAIL)
            c.fv(1, 'message', '')
            c.find('This field is required.')
 
            c.fv(1, 'name', TEST_NAME)
            c.fv(1, 'email', TEST_NAME)
            c.fv(1, 'message', TEST_MESSAGE)

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_flasktesting.py   learnpython.in.ua(Download)
from learnpython.forms import FLOW_CHOICES
 
from .common import TEST_COMMENTS, TEST_EMAIL, TEST_MESSAGE, TEST_NAME, \
    TEST_PHONE, TEST_SKYPE, TEST_SUBJECT, TestCase
 
            {},
            {'name': '', 'email': TEST_EMAIL, 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': '', 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'message': ''},
            {'name': TEST_NAME, 'email': TEST_NAME, 'message': TEST_MESSAGE,

src/l/e/learnpython.in.ua-HEAD/learnpython/tests/test_webtest.py   learnpython.in.ua(Download)
from learnpython.forms import FLOW_CHOICES
 
from .common import TEST_COMMENTS, TEST_EMAIL, TEST_NAME, TEST_MESSAGE, \
    TEST_PHONE, TEST_SKYPE, TEST_SUBJECT, TestCase
 
            {},
            {'name': '', 'email': TEST_EMAIL, 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': '', 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'message': ''},
            {'name': TEST_NAME, 'email': TEST_NAME, 'message': TEST_MESSAGE,