/usr/share/pyshared/tests/test_render.py is in python-turbogears2 2.1.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | """
Testing for TG2 Configuration
"""
from nose.tools import eq_, raises
import atexit
from tg.render import render, MissingRendererError
from tests.base import TestWSGIController, make_app, setup_session_dir, teardown_session_dir, create_request
def setup():
setup_session_dir()
def teardown():
teardown_session_dir()
@raises(MissingRendererError)
def test_render_missing_renderer():
render({}, 'gensh')
|