def test_file_in_handler_no_vfs(): """file path is expanded to abspath""" from rasterio.rio.options import abspath_forward_slashes ctx = MockContext() retval = file_in_handler(ctx, 'INPUT', 'tests/data/RGB.byte.tif') assert retval == abspath_forward_slashes('tests/data/RGB.byte.tif')