(authority: AnyStr, valid: bool, out)
| 190 | ], |
| 191 | ) |
| 192 | def test_parse_authority(authority: AnyStr, valid: bool, out): |
| 193 | assert parse_authority(authority, False) == out |
| 194 | |
| 195 | if valid: |
| 196 | assert parse_authority(authority, True) == out |
| 197 | else: |
| 198 | with pytest.raises(ValueError): |
| 199 | parse_authority(authority, True) |
nothing calls this directly
no test coverage detected
searching dependent graphs…