Skip to content

Commit

Permalink
Add missed tbinfo fxiture in test_turn_on_off_psu_and_check_psustatus (
Browse files Browse the repository at this point in the history
…#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
  • Loading branch information
nhe-NV authored and wangxin committed Aug 4, 2022
1 parent d5ee038 commit 7feec08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/platform_tests/test_platform_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
"""
Expand Down

0 comments on commit 7feec08

Please sign in to comment.