MCPcopy
hub / github.com/django/django / test_ds_input_pathlib

Method test_ds_input_pathlib

tests/gis_tests/gdal_tests/test_ds.py:141–144  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 ds.__getitem__("invalid")
140
141 def test_ds_input_pathlib(self):
142 test_shp = Path(get_ds_file("test_point", "shp"))
143 ds = DataSource(test_shp)
144 self.assertEqual(len(ds), 1)
145
146 def test02_invalid_shp(self):
147 "Testing invalid SHP files for the Data Source."

Callers

nothing calls this directly

Calls 2

DataSourceClass · 0.90
get_ds_fileFunction · 0.85

Tested by

no test coverage detected