Fix map change msg field rename
`chunks_per_request` -> `msg.num_response_chunks_per_request`
This commit is contained in:
parent
0d4f6057a2
commit
e0203ebc78
|
@ -18,7 +18,7 @@ def test_repack_map_change7_chunk() -> None:
|
||||||
assert msg.name == 'BlmapChill'
|
assert msg.name == 'BlmapChill'
|
||||||
assert msg.crc == -1592087519
|
assert msg.crc == -1592087519
|
||||||
assert msg.size == 1134475
|
assert msg.size == 1134475
|
||||||
assert msg.chunks_per_request == 8
|
assert msg.num_response_chunks_per_request == 8
|
||||||
assert msg.chunk_size == 1384
|
assert msg.chunk_size == 1384
|
||||||
assert msg.sha256 == b'\x81\x7d\xbf\x48\xc5\xf1\x94\x37\xc4' \
|
assert msg.sha256 == b'\x81\x7d\xbf\x48\xc5\xf1\x94\x37\xc4' \
|
||||||
b'\x58\x2c\x6f\x98\xc9\xc2\x04\xc1\xf1' \
|
b'\x58\x2c\x6f\x98\xc9\xc2\x04\xc1\xf1' \
|
||||||
|
@ -40,7 +40,7 @@ def test_build_map_change7_chunk() -> None:
|
||||||
name='BlmapChill',
|
name='BlmapChill',
|
||||||
crc=-1592087519,
|
crc=-1592087519,
|
||||||
size=1134475,
|
size=1134475,
|
||||||
chunks_per_request=8,
|
num_response_chunks_per_request=8,
|
||||||
chunk_size=1384,
|
chunk_size=1384,
|
||||||
sha256=b'\x81\x7d\xbf\x48\xc5\xf1\x94\x37\xc4' \
|
sha256=b'\x81\x7d\xbf\x48\xc5\xf1\x94\x37\xc4' \
|
||||||
b'\x58\x2c\x6f\x98\xc9\xc2\x04\xc1\xf1' \
|
b'\x58\x2c\x6f\x98\xc9\xc2\x04\xc1\xf1' \
|
||||||
|
@ -63,7 +63,7 @@ def test_build_ctf5_map_change7_chunk() -> None:
|
||||||
name='ctf5',
|
name='ctf5',
|
||||||
crc=-1592087519,
|
crc=-1592087519,
|
||||||
size=1134475,
|
size=1134475,
|
||||||
chunks_per_request=6,
|
num_response_chunks_per_request=6,
|
||||||
chunk_size=1384,
|
chunk_size=1384,
|
||||||
sha256=b'\x81\x7d\xbf\x48\xc5\xf1\x94\x37\xc4' \
|
sha256=b'\x81\x7d\xbf\x48\xc5\xf1\x94\x37\xc4' \
|
||||||
b'\x58\x2c\x6f\x98\xc9\xc2\x04\xc1\xf1' \
|
b'\x58\x2c\x6f\x98\xc9\xc2\x04\xc1\xf1' \
|
||||||
|
|
Loading…
Reference in a new issue