def test_clean_url_path(path, expected, is_local_path): assert _clean_url_path(path, is_local_path=is_local_path) == expected
def test_clean_url_path(path: str, expected: str, is_local_path: bool) -> None: assert _clean_url_path(path, is_local_path=is_local_path) == expected
def test_clean_url_path_with_local_path(path: str, expected: str) -> None: actual = _clean_url_path(path, is_local_path=True) assert actual == expected
def test_clean_url_path_with_local_path(path, expected): actual = _clean_url_path(path, is_local_path=True) assert actual == expected