Skip to content
Failed

Changes

Summary

  1. unittests/test_files: Pass to-be-encoded length to encoder functions (details)
Commit cb379fd5cb811c3ee6e576793e3bcdae4e1453dc by laforge
unittests/test_files: Pass to-be-encoded length to encoder functions

Some of the encoders can only generate valid output if they are told
the expected output size.  This is due to variable-length fields that
depend on the size of the total record (or file).  Let's always pass
the expected length to the encoder methods.

Change-Id: I88f957e49b0c88a121a266d3582e79822fa0e214
The file was modifiedtests/unittests/test_files.py