From 06a72d16be47e49629e2bc7b9bb8c51b8249a738 Mon Sep 17 00:00:00 2001 From: Karolina Rogowska Date: Tue, 30 Aug 2022 16:29:02 +0200 Subject: [PATCH] fix test_partition_create_cas Signed-off-by: Karolina Rogowska --- test/functional/tests/volumes/test_volume_partitions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/tests/volumes/test_volume_partitions.py b/test/functional/tests/volumes/test_volume_partitions.py index fef6b93..385968f 100644 --- a/test/functional/tests/volumes/test_volume_partitions.py +++ b/test/functional/tests/volumes/test_volume_partitions.py @@ -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."):