rasterio/tests/test_data_paths.py
Sean Gillies d917c5cd38
Use gdalvrt.xsd as a marker for GDAL's data directory (#3157)
* Use gdalvrt.xsd as a marker for GDAL's data directory

Resolves #3153

* Update change log

* Adjust tests
2024-08-30 08:35:42 -06:00

13 lines
345 B
Python

"""Tests of GDAL and PROJ data finding"""
from rasterio._env import GDALDataFinder, PROJDataFinder
def test_gdal_data_find_file():
"""Find_file shouldn't raise any exceptions"""
GDALDataFinder().find_file("gdalvrt.xsd")
def test_proj_data_has_data():
"""has_data shouldn't raise any exceptions"""
PROJDataFinder().has_data()