def test_theme_path(tmpdir):

    tmpdir.join('theme').mkdir()
    tmpdir.join('theme').join('templates').mkdir()
    conf = tmpdir.join('sigal.conf.py')
    conf.write("""# -*- coding: utf-8 -*-

theme = 'theme'
""")

    settings = read_settings(str(conf))
    assert settings['theme'] == tmpdir.join('theme')
Wrapper for converting values.
dataset/ETHPy150Open saimn/sigal/tests/test_settings.py/test_theme_path--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_ConvWrapInner