summaryrefslogtreecommitdiff
path: root/tests/test_compression.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-05 11:50:57 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-05 11:50:57 +0200
commit473fa5444186143f58dffbf1d14982a8905b1fc8 (patch)
tree67c1f90c1337a45cf15095c17116d425a52cd834 /tests/test_compression.py
parent0e383db89283610b10f4651ec0a9f9727b9da748 (diff)
downloadgemato-473fa5444186143f58dffbf1d14982a8905b1fc8.tar.gz
Fix wrongly determining uncompressed size
Flush the file after writing to ensure that .buffer.tell() gives non-zero value. This fixes a number of cases of Manifests not being compressed. It also pointed out a major mistake in profile tests. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests/test_compression.py')
0 files changed, 0 insertions, 0 deletions