Exemple #1
0
def test_is_valid():
    assert is_valid_crs('EPSG:4326')
Exemple #2
0
def test_is_valid_false():
    assert not is_valid_crs('EPSG:432600')
Exemple #3
0
def test_is_valid():
    assert is_valid_crs('EPSG:4326')
Exemple #4
0
def test_is_valid_false():
    assert not is_valid_crs('EPSG:432600')
Exemple #5
0
def test_is_valid_false():
    with pytest.raises(CRSError):
        is_valid_crs('EPSG:432600')
Exemple #6
0
def test_is_valid_false():
    with pytest.raises(CRSError):
        is_valid_crs('EPSG:432600')