diff --git a/core/test_run_utils.py b/core/test_run_utils.py index cb971b1..59ba2ce 100644 --- a/core/test_run_utils.py +++ b/core/test_run_utils.py @@ -1,6 +1,7 @@ # # Copyright(c) 2019-2021 Intel Corporation # Copyright(c) 2023-2025 Huawei Technologies Co., Ltd. +# Copyright(c) 2026 Unvertical # SPDX-License-Identifier: BSD-3-Clause # @@ -23,7 +24,7 @@ from test_utils.dut import Dut TestRun = core.test_run.TestRun -TestRun.TEST_RUN_DATA_PATH = "/tmp/test_data" +TestRun.TEST_RUN_DATA_PATH = "/tmp/" @classmethod diff --git a/type_def/size.py b/type_def/size.py index edcffe5..b262a16 100644 --- a/type_def/size.py +++ b/type_def/size.py @@ -173,15 +173,15 @@ def __sub__(self, other): ) @multimethod - def __mul__(self, other: float): + def __mul__(self, other: float | int): return Size(math.ceil(self.get_value() * other)) @multimethod - def __rmul__(self, other: float): + def __rmul__(self, other: float | int): return Size(math.ceil(self.get_value() * other)) @multimethod - def __truediv__(self, other: int): + def __truediv__(self, other: float | int): if other == 0: raise ValueError("Divisor must not be equal to 0.") return Size(math.ceil(self.get_value() / other))