From 7feec085065277c4f61923035e3f8f72cf1561d8 Mon Sep 17 00:00:00 2001 From: "Nana@Nvidia" <78413612+nhe-NV@users.noreply.github.com> Date: Tue, 19 Jul 2022 01:59:18 +0800 Subject: [PATCH] Add missed tbinfo fxiture in test_turn_on_off_psu_and_check_psustatus (#5990) tbinfo is used in the PR #5968, but the fixture is not added in the test case function. - How did you do it? Add the tbinfo fixture in the test_turn_on_off_psu_and_check_psustatus - How did you verify/test it? Run the test_turn_on_off_psu_and_check_psustatus, test pass --- tests/platform_tests/test_platform_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/platform_tests/test_platform_info.py b/tests/platform_tests/test_platform_info.py index f1d383d9d1..da8902e68a 100644 --- a/tests/platform_tests/test_platform_info.py +++ b/tests/platform_tests/test_platform_info.py @@ -207,7 +207,7 @@ def check_all_psu_on(dut, psu_test_results): @pytest.mark.disable_loganalyzer @pytest.mark.parametrize('ignore_particular_error_log', [SKIP_ERROR_LOG_PSU_ABSENCE], indirect=True) -def test_turn_on_off_psu_and_check_psustatus(duthosts, enum_rand_one_per_hwsku_hostname, pdu_controller, ignore_particular_error_log): +def test_turn_on_off_psu_and_check_psustatus(duthosts, enum_rand_one_per_hwsku_hostname, pdu_controller, ignore_particular_error_log, tbinfo): """ @summary: Turn off/on PSU and check PSU status using 'show platform psustatus' """