def test_get_window_resize_to_256(self):
    vr = self.read_only_virtual_geo_raster()
    win = Window(0, 0, 300, 300)
    r = vr.get_window(win, xsize=256, ysize=256)
    self.assertFalse((r.image.data == 0).all())
    self.assertFalse(r.image.mask.all())
    self.assertEqual(r.image.shape, (3, 256, 256))
def test_get_window_resize_to_256(self):
    vr = self.read_only_virtual_geo_raster()
    win = Window(0, 0, 300, 300)
    r = vr.get_window(win, xsize=256, ysize=256)
    self.assertFalse((r.image.data == 0).all())
    self.assertFalse(r.image.mask.all())
    self.assertEqual(r.image.shape, (3, 256, 256))