コード例 #1
0
ファイル: test_crs.py プロジェクト: djhoese/pyproj
def test_coordinate_system__from_user_input__invalid(user_input):
    with pytest.raises(CRSError, match="Invalid"):
        CoordinateSystem.from_user_input(user_input)
コード例 #2
0
ファイル: test_crs.py プロジェクト: djhoese/pyproj
def test_coordinate_system__from_user_input(user_input):
    assert CoordinateSystem.from_user_input(
        user_input) == CoordinateSystem.from_json_dict(CS_JSON_DICT)