MCPcopy
hub / github.com/django/django / test02_invalid_driver

Method test02_invalid_driver

tests/gis_tests/gdal_tests/test_driver.py:51–55  ·  view source on GitHub ↗

Testing invalid GDAL/OGR Data Source Drivers.

(self)

Source from the content-addressed store, hash-verified

49 self.assertEqual(d, str(dr))
50
51 def test02_invalid_driver(self):
52 "Testing invalid GDAL/OGR Data Source Drivers."
53 for i in invalid_drivers:
54 with self.assertRaises(GDALException):
55 Driver(i)
56
57 def test03_aliases(self):
58 "Testing driver aliases."

Callers

nothing calls this directly

Calls 1

DriverClass · 0.90

Tested by

no test coverage detected