diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test_pretty_print.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py index 4c3993c..517e9fb 100755 --- a/tests/test_pretty_print.py +++ b/tests/test_pretty_print.py @@ -328,6 +328,7 @@ def to_html(project_name, startdate, tests, enddate, sysinfo, sysid, makefiles):                            test_name=test.fullname,                            test_log=test.fulltestlog)          elif test.type == 'png': +            # FIXME: Handle missing test.actualfile or test.expectedfile              actual_img = png_encode64(test.actualfile,                                    data=vars(test).get('actualfile_data'))              expected_img = png_encode64(test.expectedfile, @@ -339,7 +340,7 @@ def to_html(project_name, startdate, tests, enddate, sysinfo, sysid, makefiles):                            expected=expected_img)          else:              raise TypeError('Unknown test type %r' % test.type) -     +      for mf in sorted(makefiles.keys()):          mfname = mf.strip().lstrip(os.path.sep)          text = open(os.path.join(builddir, mfname)).read() | 
