Merge pull request #1332 from karolinavelkaja/partitions_test_fix_ocl

tests: fix test_partition_create_cas
This commit is contained in:
Robert Baldyga 2022-09-16 06:55:12 +02:00 committed by GitHub
commit 3c3369bcc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
#
# Copyright(c) 2020-2021 Intel Corporation
# Copyright(c) 2020-2022 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
#
@ -149,7 +149,7 @@ def test_partition_create_cas(partition_table, filesystem, cache_mode):
with TestRun.step("Read partitions on core device."):
for part in core.partitions:
part.parent_device = core_dev
new_part = Partition(part.parent_device, part.type, part.number)
new_part = Partition(part.parent_device, part.type, part.number, part.begin, part.end)
core_dev.partitions.append(new_part)
with TestRun.step("Mount core devices."):