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

All Samples(28)  |  Call(14)  |  Derive(0)  |  Import(14)

src/t/g/tg2-HEAD/tests/test_validation.py   tg2(Download)
from tg.controllers import TGController, DecoratedController
from tg.decorators import expose, validate, before_render, before_call, Decoration
from tests.base import (TestWSGIController, data_dir,
    make_app, setup_session_dir, teardown_session_dir)
 
def setup():
    setup_session_dir()
 
def teardown():
    teardown_session_dir()

src/t/g/tg2-HEAD/tests/test_tg_controller_dispatch.py   tg2(Download)
from tg.util import no_warn
 
from tests.base import (
    TestWSGIController, make_app, setup_session_dir, teardown_session_dir)
 
def setup():
    setup_session_dir()
 
 
def teardown():

src/t/g/tg2-HEAD/tests/test_rest_controller_dispatch.py   tg2(Download)
from tg.util import no_warn
 
from tests.base import (
    TestWSGIController, make_app, setup_session_dir, teardown_session_dir)
 
 
def setup():
    setup_session_dir()

src/t/g/tg2-HEAD/tests/test_render.py   tg2(Download)
import tg
from tg.render import MissingRendererError
from tests.base import TestWSGIController, make_app, setup_session_dir, teardown_session_dir, create_request
 
from tg.configuration import AppConfig
from mako.exceptions import TemplateLookupException
 
def setup():
    setup_session_dir()

src/t/g/tg2-HEAD/tests/test_controllers.py   tg2(Download)
from tg.exceptions import HTTPFound
from nose.tools import eq_
from tests.base import TestWSGIController, make_app, setup_session_dir, teardown_session_dir, create_request
from tg.util import no_warn
from tg._compat import u_, string_type
 
def setup():
    setup_session_dir()

src/t/g/tg2-HEAD/tests/test_configuration.py   tg2(Download)
import tg.i18n
from tg import TGController, expose, response, request, abort
from tests.base import TestWSGIController, make_app, setup_session_dir, teardown_session_dir, create_request
from webtest import TestApp
from tg.renderers.base import RendererFactory
def setup():
    milestones._reset_all()
    setup_session_dir()
def teardown():
    milestones._reset_all()

src/t/g/tg2-HEAD/tests/test_caching.py   tg2(Download)
from tg.controllers.util import etag_cache
from tg import cache
from tests.base import TestWSGIController, make_app, setup_session_dir, teardown_session_dir
 
def setup():
    setup_session_dir()

src/t/u/TurboGears2-2.3.2/tests/test_validation.py   TurboGears2(Download)
from tg.controllers import TGController, DecoratedController
from tg.decorators import expose, validate, before_render, before_call
from tests.base import (TestWSGIController, data_dir,
    make_app, setup_session_dir, teardown_session_dir)
 
def setup():
    setup_session_dir()
 
def teardown():
    teardown_session_dir()

src/t/u/TurboGears2-2.3.2/tests/test_tg_controller_dispatch.py   TurboGears2(Download)
from tg.util import no_warn
 
from tests.base import (
    TestWSGIController, make_app, setup_session_dir, teardown_session_dir)
 
def setup():
    setup_session_dir()
 
 
def teardown():

src/t/u/TurboGears2-2.3.2/tests/test_rest_controller_dispatch.py   TurboGears2(Download)
from tg.util import no_warn
 
from tests.base import (
    TestWSGIController, make_app, setup_session_dir, teardown_session_dir)
 
 
def setup():
    setup_session_dir()

  1 | 2  Next