

def test_if_environment_values_are_set_they_should_be_preferred():
    pelicanconf = 'repelicant'
    pelican = 'pelican or pelicant?'
    content = "Well isn't that special?"
    output = 'Buuuuuurrrrp'
    os.environ['DIF_PELICANCONF'] = pelicanconf
    os.environ['DIF_PELICAN'] = content
    os.environ['DIF_CONTENT'] = content
    os.environ['DIF_OUTPUT'] = output
    reload(draftin_a_flask)
    assert (draftin_a_flask.PELICANCONF == pelicanconf)
    assert (draftin_a_flask.PELICAN == pelican)
    assert (draftin_a_flask.CONTENT == content)
    assert (draftin_a_flask.OUTPUT == output)

dataset/ETHPy150Open waynew/draftin-a-flask/tests/test_draftin_a_flask.py test_if_environment_values_are_set_they_should_be_preferred/VarMisuse@41/104 `pelican`->`content`