Skip to content

Refactor thermal_control_test_helper.py from folder tests/platform_tests to tests/common/helpers#14588

Merged
wangxin merged 5 commits intosonic-net:masterfrom
yutongzhang-microsoft:yutongzhang/refactor_thermal_control_test_helper
Sep 18, 2024
Merged

Refactor thermal_control_test_helper.py from folder tests/platform_tests to tests/common/helpers#14588
wangxin merged 5 commits intosonic-net:masterfrom
yutongzhang-microsoft:yutongzhang/refactor_thermal_control_test_helper

Conversation

@yutongzhang-microsoft
Copy link
Copy Markdown
Contributor

Description of PR

Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.

How did you do it?

Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@yutongzhang-microsoft yutongzhang-microsoft force-pushed the yutongzhang/refactor_thermal_control_test_helper branch from 7cb6a6a to 16ccac4 Compare September 14, 2024 06:25
@wangxin wangxin merged commit 875f891 into sonic-net:master Sep 18, 2024
@yutongzhang-microsoft yutongzhang-microsoft deleted the yutongzhang/refactor_thermal_control_test_helper branch September 18, 2024 02:05
hdwhdw pushed a commit to hdwhdw/sonic-mgmt that referenced this pull request Sep 20, 2024
…_tests` to `tests/common/helpers` (sonic-net#14588)

What is the motivation for this PR?
Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.

How did you do it?
Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.
arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
…_tests` to `tests/common/helpers` (sonic-net#14588)

What is the motivation for this PR?
Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.

How did you do it?
Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
…_tests` to `tests/common/helpers` (sonic-net#14588)

What is the motivation for this PR?
Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.

How did you do it?
Some scripts use the shared functions in thermal_control_test_helper.py. To minimize cross-module dependencies, we move this helper script from feature specific folder tests/platform_tests to common folder tests/common/helpers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants