def test_theme_path(tmpdir):
    """Test that image size is swaped if needed."""

    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'] in tmpdir.join('theme')
dataset/ETHPy150Open saimn/sigal/tests/test_settings.py/test_theme_path/operator `==` -> `in`