Exemplo n.º 1
0
def test_coordinate_system__from_user_input__invalid(user_input):
    with pytest.raises(CRSError, match="Invalid"):
        CoordinateSystem.from_user_input(user_input)
Exemplo n.º 2
0
def test_coordinate_system__from_user_input(user_input):
    assert CoordinateSystem.from_user_input(
        user_input) == CoordinateSystem.from_json_dict(CS_JSON_DICT)