Skip to content

Commit

Permalink
Changed missing or incorrect expected PDFs.
Browse files Browse the repository at this point in the history
029 - Incorrect due to default styles
035 - Just missing
036 - Just missing
039 - Missing and had to change RML since repr() is a different result
each time
041 - Just missing
  • Loading branch information
kylemacfarlane committed Mar 4, 2013
1 parent 974cce8 commit 389d045
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2 deletions.
Binary file modified src/z3c/rml/tests/expected/rml-examples-029-keepinframe.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Expand Up @@ -116,7 +116,7 @@ blah blah forward-thinking blah.
<docPara expr='i' format='The value of i is %(__expr__)d'/>
<docExec stmt='i-=1'/>
</docWhile>
<docPara expr='repr(doc._nameSpace)' escape="1"/>
<docPara expr='"-".join("a b c d e f g".split())' escape="1"/>
<docWhile cond="doc.page&lt;3">
<nextPage/>
<docIf cond="doc.page&lt;3">
Expand Down
4 changes: 3 additions & 1 deletion src/z3c/rml/tests/test_rml.py
Expand Up @@ -90,7 +90,9 @@ def assertSameImage(self, baseImage, testImage):
test = Image.open(testImage).getdata()
for i in range(len(base)):
if (base[i] - test[i]) != 0:
self.fail('Image is not the same.')
self.fail(
'Image is not the same: %s' % os.path.basename(baseImage)
)

def runTest(self):
# Convert the base PDF to image(s)
Expand Down

0 comments on commit 389d045

Please sign in to comment.