Skip to content

Commit

Permalink
Pass expected_sizediff to make tests work
Browse files Browse the repository at this point in the history
  • Loading branch information
nopjmp committed Jul 14, 2016
1 parent aac4855 commit 4c83152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestEngine.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def prepare_device(self, expected_sizediff = None):
devsize_post = devsize_pre + expected_sizediff

seed = random.randint(0, 0xffffffff)
plain_data_hash = self._engine.patternize_rawdev(exclude_bytes, seed)
plain_data_hash = self._engine.patternize_rawdev(expected_sizediff, seed)
backup_header_hash = self._engine.hash_rawdev(total_size = self["default_backup_hdr_size"])
return self._PreTestParameters(seed = seed, plain_data_hash = plain_data_hash, backup_header_hash = backup_header_hash, source = "plain", expected_sizediff = expected_sizediff, devsize_pre = devsize_pre, devsize_post = devsize_post)

Expand Down

0 comments on commit 4c83152

Please sign in to comment.