def test_relativize_relative_file_urls(): assert relativize_url(rel_artifact_url, abs_metadata_url) == \ rel_artifact_url
def test_derelativize_gcs_urls(): assert relativize_url(gcs_artifact_url, gcs_metadata_url) == \ gcs_artifact_url
def test_relativize_abs_file_urls(): assert relativize_url(abs_artifact_url, abs_metadata_url) == rel_artifact_url