()
| 36 | assert validate_url("http://example.com/page") == "http://example.com/page" |
| 37 | |
| 38 | def test_validate_url_accepts_https(): |
| 39 | assert validate_url("https://arxiv.org/abs/1706.03762") == "https://arxiv.org/abs/1706.03762" |
| 40 | |
| 41 | def test_validate_url_rejects_file(): |
| 42 | with pytest.raises(ValueError, match="file"): |
nothing calls this directly
no test coverage detected