def test_set_driver(self): dmap = DimensionMap() dmap.set_driver(DriverNetcdfUGRID) self.assertEqual(dmap.get_driver(), DriverNetcdfUGRID.key)
def test_get_driver(self): dmap = DimensionMap() self.assertEqual(dmap.get_driver(), DriverNetcdfCF.key)
def test_get_driver(self): dmap = DimensionMap() self.assertEqual(dmap.get_driver(), DriverNetcdfCF.key)
def test_set_driver(self): dmap = DimensionMap() dmap.set_driver(DriverNetcdfUGRID) self.assertEqual(dmap.get_driver(), DriverNetcdfUGRID.key)