Beispiel #1
0
def test_mkdir_p_success(tmpdir):
    helpers.mkdir_p(tmpdir.join('test').strpath)
Beispiel #2
0
def test_mkdir_p_failure_permission(tmpdir):
    with pytest.raises(OSError):
        helpers.mkdir_p('/asdf')