# Path: sitetree/settings.py
# ALIAS_TRUNK = 'trunk'


from sitetree.settings import ALIAS_TRUNK
    from sitetree.sitetreeapp import LazyTitle, get_sitetree
    from sitetree.sitetreeapp import get_sitetree
                   'Russia|Web|Public|Private|Australia|Darwin|China'


def test_lazy_title(template_context):


    assert LazyTitle('one') == 'one'

    title = LazyTitle('here{% no_way %}there')

    get_sitetree().current_page_context = template_context()

    assert title == 'herethere'


def test_customized_tree_handler(template_context):


    assert get_sitetree().customized  # see MySiteTree


def test_techincal_view_exception_unmasked(request_client, settings):
    # We expect that customized 500 template using sitetree is handled as expected.
    client = request_client(raise_exceptions=False)
    response = client.get('/raiser/')
    assert response.content == b'\n\n<ul>\n\t\n</ul>'


def test_urlquote(request_client, build_tree, template_render_tag, template_strip_tags, template_context, request_get):


# Path: sitetree/settings.py
# ALIAS_TRUNK = 'trunk'


# Path: sitetree/tests/test_other.py
from sitetree.settings import ALIAS_TRUNK
    from sitetree.sitetreeapp import LazyTitle, get_sitetree
    from sitetree.sitetreeapp import get_sitetree

                   'Russia|Web|Public|Private|Australia|Darwin|China'


def test_lazy_title(template_context):


    assert LazyTitle('one') == 'one'

    title = LazyTitle('here{% no_way %}there')

    get_sitetree().current_page_context = template_context()

    assert title == 'herethere'


def test_customized_tree_handler(template_context):


    assert get_sitetree().customized  # see MySiteTree


def test_techincal_view_exception_unmasked(request_client, settings):
    # We expect that customized 500 template using sitetree is handled as expected.
    client = request_client(raise_exceptions=False)
    response = client.get('/raiser/')
    assert response.content == b'\n\n<ul>\n\t\n</ul>'


def test_urlquote(request_client, build_tree, template_render_tag, template_strip_tags, template_context, request_get):


    build_tree(