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.fv(1, 'name', '')
            c.fv(1, 'email', TEST_EMAIL)
            c.fv(1, 'message', TEST_MESSAGE)
 
 
            c.fv(1, 'name', TEST_NAME)
            c.fv(1, 'email', TEST_EMAIL)
            c.fv(1, 'message', '')
 
 
            c.fv(1, 'name', TEST_NAME)
            c.fv(1, 'email', TEST_EMAIL)
            c.fv(1, 'message', TEST_MESSAGE)
 
 
                self.assertEqual(len(outbox), 1)
                args = (TEST_NAME, TEST_EMAIL, TEST_MESSAGE)
                self.check_message(outbox[0], 'Feedback', *args)
 

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
 
        collection = (
            {},
            {'name': '', 'email': TEST_EMAIL, 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': '', 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'message': ''},
 
        collection = (
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'subject': TEST_SUBJECT,
             '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
 
        collection = (
            {},
            {'name': '', 'email': TEST_EMAIL, 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': '', 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'message': ''},
 
        collection = (
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'message': TEST_MESSAGE},
            {'name': TEST_NAME, 'email': TEST_EMAIL, 'subject': TEST_SUBJECT,
             'message': TEST_MESSAGE},