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