def METHOD_NAME() -> None:
    """Should parse a URL for viewing a file."""
    case = "https://github.com/wandb/examples/blob/master/examples/launch/launch-quickstart/README.md"
    ref = GitHubReference.parse(case)
    assert ref.host == "github.com"
    assert ref.organization == "wandb"
    assert ref.repo == "examples"
    assert ref.view == "blob"
    assert ref.path == "master/examples/launch/launch-quickstart/README.md"
    assert ref.url == case