tests: fix test file path

Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
Kamil Gierszewski 2024-10-01 14:18:43 +02:00
parent 4b74c65969
commit 004062d9fd
No known key found for this signature in database

View File

@ -4,6 +4,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
import os
import posixpath
import time
import pytest
@ -236,7 +237,7 @@ def test_trim_device_discard_support(
with TestRun.step("Create random file."):
test_file = fs_utils.create_random_test_file(
os.path.join(mount_point, "test_file"), core_dev.size * 0.2
posixpath.join(mount_point, "test_file"), core_dev.size * 0.2
)
occupancy_before = core.get_occupancy()
TestRun.LOGGER.info(str(core.get_statistics()))