-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Mock get_switch_attribute() SAI API
During its initialization, PortsOrch queries switch capabilities to verify if Path Tracing is supported or not. Currently, PortsOrch UTs fail because the TAM object type required by Path Tracing tests is not in the list of object types supported by the switch. This commit mocks get_switch_attribute() SAI API in PortsOrch UT to return TAM object type as part of the object types supported by the switch. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
- Loading branch information
1 parent
448d8a3
commit b232132
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters