Skip to content

Commit

Permalink
lets see the base
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Apr 4, 2016
1 parent 73490af commit 15ba90f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/z3c/rml/tests/test_rml.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,17 @@ def assertSameImage(self, baseImage, testImage):
if True:
# output the result as base64 for travis debugging
# flip the above condition to activate this code
test_file.seek(0)
print()
print(os.system("gs --version"))

base_file.seek(0)
print(baseImage)
print(base_file.read().encode('base64'))
print(self._basePath)
with open(self._basePath, 'rb') as base_pdf:
print(base_pdf.read().encode('base64'))

test_file.seek(0)
print(testImage)
print(test_file.read().encode('base64'))
print(self._testPath)
Expand Down

0 comments on commit 15ba90f

Please sign in to comment.