def test_success(mock_makedirs):
    mkdir_p('a/b')
    assert ([mock.call('a/b')] == mock_makedirs.call_args_list)
def test_success(mock_makedirs):
    mkdir_p('a/b')
    assert ([mock.call('a/b')] == mock_makedirs.call_args_list)