diff options
author | Marius Kintel <marius@kintel.net> | 2013-12-15 23:24:17 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-12-15 23:24:17 (GMT) |
commit | 111d8f416a042fd77107a7cceea3ca95513a403b (patch) | |
tree | 6cace6eaed490ffe06dca53c739ef2b0f458709b /tests | |
parent | 4fd18f6d72d3690dec11c7241a8127fe37007dec (diff) |
Added FIXME
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() |