def test_ellipsoid__from_authority__invalid(): with pytest.raises(CRSError, match="Invalid authority"): Ellipsoid.from_authority("BOB", 1)
def test_ellipsoid__from_authority(): assert Ellipsoid.from_authority("EPSG", 7030).name == "WGS 84"