sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
173 stars 689 forks source link

Move scripts under `platform_tests/api` to pr test skip list. #13567

Closed yutongzhang-microsoft closed 3 days ago

yutongzhang-microsoft commented 4 days ago

Description of PR

In order to test the api of platform, we need the module sonic_platform, which is not included in vs testbed. Thus, it will get ModuleNotFoundError: No module named 'sonic_platform' on vs. We will skip these tests on vs.

Summary: Fixes # (issue)

Type of change

Back port request

Approach

What is the motivation for this PR?

In order to test the api of platform, we need the module sonic_platform, which is not included in vs testbed. Thus, it will get ModuleNotFoundError: No module named 'sonic_platform' on vs. We will skip these tests on vs.

How did you do it?

Move the scripts under folder platform_tests/api from pr_test_scripts.yaml to pr_test_skip_scripts.yaml for caculation.

How did you verify/test it?

Any platform specific information?

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

Documentation