Commits

Thomas Waldmann  committed cb2c9d6

fix diffraw test

  • Participants
  • Parent commits 91f6360

Comments (0)

Files changed (1)

File MoinMoin/items/_tests/test_Item.py

         try:
             from PIL import Image as PILImage
             result = TransformableBitmapImage._render_data_diff(item1, item.rev, item1.rev)
-            expected = '<img src="/+diffraw/image_Item?rev2=0" />'
-            assert str(result) == expected
+            assert str(result).startswith('<img src="/+diffraw/image_Item?rev')
         except ImportError:
             # no PIL
             pass