Пример #1
0
def test_makeRelativePath_win_only(cur_dir, target_path, result):
    assert makeRelativePath(cur_dir, target_path) == result
Пример #2
0
def test_makeRelativePath_win_only(cur_dir, target_path, result):
    assert makeRelativePath(cur_dir, target_path) == result
Пример #3
0
def test_makeRelativePath(cur_dir, target_path, result):
    if result:
        result = os.path.normpath(result)
    assert makeRelativePath(cur_dir, target_path) == result
Пример #4
0
def test_makeRelativePath(cur_dir, target_path, result):
    if result:
        result = os.path.normpath(result)
    assert makeRelativePath(cur_dir, target_path) == result