MCPcopy
hub / github.com/django/django / test03_aliases

Method test03_aliases

tests/gis_tests/gdal_tests/test_driver.py:57–61  ·  view source on GitHub ↗

Testing driver aliases.

(self)

Source from the content-addressed store, hash-verified

55 Driver(i)
56
57 def test03_aliases(self):
58 "Testing driver aliases."
59 for alias, full_name in aliases.items():
60 dr = Driver(alias)
61 self.assertEqual(full_name, str(dr))
62
63 @mock.patch("django.contrib.gis.gdal.driver.capi.get_driver_count")
64 @mock.patch("django.contrib.gis.gdal.driver.capi.register_all")

Callers

nothing calls this directly

Calls 2

DriverClass · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected