

def test_if_content_directory_does_not_exist_it_should_get_made():
    draftin_a_flask.subprocess = MagicMock()
    content = os.path.join(draftin_a_flask.ROOT, draftin_a_flask.CONTENT)
    if os.path.exists(content):
        shutil.rmtree(is_dir)
    draftin_a_flask.publish('whatev', 'This is some *content*')
    is_dir = os.path.isdir(content)
    assert is_dir

dataset/ETHPy150Open waynew/draftin-a-flask/tests/test_draftin_a_flask.py test_if_content_directory_does_not_exist_it_should_get_made/VarMisuse@50/73 `content`->`is_dir`