def test_absolute_path_3(): path = absolute_path('../other') path = Path(path) cwd = Path(os.getcwd()) assert path.name == 'other' assert path.parent.name == cwd.parent.name
def test_absolute_path_2(): path = absolute_path('../') path = Path(path) cwd = Path(os.getcwd()) assert path.name == cwd.parent.name