Skip to content

Commit

Permalink
fix test_disk_format.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed May 13, 2024
1 parent 06dab03 commit fbd5f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api2/test_disk_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_disk_format(unused_disk):
assert partitions[0]['partition_type'] == DATA_TYPE_UUID

# Should be a modulo of grain_size
assert (partitions[0]['end_sector'] - partitions[0]['start_sector']) % grain_size == 0
assert partitions[0]['size'] % grain_size == 0

# Uses (almost) all the disk
assert partitions[0]['start_sector'] == first_sector
Expand Down

0 comments on commit fbd5f96

Please sign in to comment.