From cea479df38f87b811191aa8a26fda1f0505d8a34 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Fri, 21 Dec 2012 15:47:50 +0000 Subject: [PATCH] testSafeImage: test_03 fixed --- bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py | 2 +- bt5/erp5_safeimage/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py b/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py index 889667e34b..32737b9b39 100644 --- a/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py +++ b/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py @@ -140,7 +140,7 @@ class TestSafeImage(ERP5TypeTestCase): self.assertNotEqual(tile_transformed,None) image_property = getattr(tile_transformed, "ImageProperties.xml", None) self.assertEquals(image_property.getData(), - """<IMAGE_PROPERTIES WIDTH="660" HEIGHT="495" NUMTILES="52" NUMIMAGES="1" VERSION="1.8" TILESIZE="256" />""") + """<IMAGE_PROPERTIES WIDTH="660" HEIGHT="495" NUMTILES="9" NUMIMAGES="1" VERSION="1.8" TILESIZE="256" />""") self.assertNotEqual(image_property, None) self.assertEquals("Embedded File", image_property.getPortalType()) image_transform = getattr(tile_transformed, "TransformFile.txt", None) diff --git a/bt5/erp5_safeimage/bt/revision b/bt5/erp5_safeimage/bt/revision index 3cacc0b93c..ca7bf83ac5 100644 --- a/bt5/erp5_safeimage/bt/revision +++ b/bt5/erp5_safeimage/bt/revision @@ -1 +1 @@ -12 \ No newline at end of file +13 \ No newline at end of file -- 2.30.9