rasterio/tests/test_data_paths.py
2026-01-05 10:56:51 -06:00

14 lines
346 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()