

def test_inline_css_helper():
    env = jingo.env
    t = env.from_string("{{ inline_css('common', debug=True) }}")
    s = t.render()
    eq_(s, '<style type="text/css" media="screen,projection,tv">body {\n    color: #999;\n}\n</style>')
    t = env.from_string("{{ inline_css('common', debug=False) }}")
    s = env.render()
    eq_(s, '<style type="text/css" media="screen,projection,tv">body{color:#999}</style>')

dataset/ETHPy150Open jsocol/jingo-minify/jingo_minify/tests.py test_inline_css_helper/VarMisuse@50/119 `t`->`env`