-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Platform API] Add test cases for new API methods #2370
Conversation
This pull request introduces 2 alerts and fixes 2 when merging 601477b into 7d140d5 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request fixes 2 alerts when merging 8c84817 into 18a1540 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging d4734bd into 18a1540 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging 798f6c5 into 18a1540 - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging b02b4d3 into 4b3fa1c - view on LGTM.com fixed alerts:
|
@Junchao-Mellanox: Since these methods are inherited from DeviceBase, there are other classes which inherit these methods. Even though they may not be used by the MIB, we should test that the APIs are implemented for completeness. Do you agree? If so, can you please add similar API tests to the following files and their respective helpers?
|
Agree, will do it. |
Description of PR
Summary:
During SONiC physical entity MIB feature development, a few new platform APIs were added and they need regression test cases to verify them.
Depends on sonic-net/sonic-platform-common#134
Type of change
Approach
What is the motivation for this PR?
Add test cases and test support for all newly added platform API introduced by SONiC physical entity MIB feature
How did you do it?
Add new API test support for chassis, fan, fan drawer, psu, sfp and add new test cases for them.
How did you verify/test it?
Manually run the regression
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
N/A
Documentation