def test_simple_callback(self): def callback(cube, field, filename): cube.attributes['processing'] = 'fast-ff' list_of_cubes = list(load(self.fname, callback=callback)) cube = self._merge_cubes(list_of_cubes) self.assertCML(cube)
def test_simple(self): list_of_cubes = list(load(self.fname, None)) cube = self._merge_cubes(list_of_cubes) self.assertCML(cube)