Skip to content

Commit

Permalink
Add skip for non vs topologies in test_vs_chassis_setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier-Tan committed Sep 24, 2024
1 parent 78cf50d commit c3fd8ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_vs_chassis_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def setup(duthosts, tbinfo, localhost):

dut_topo_info = tbinfo['topo']['properties']['topology']['DUT']
if 'vs_chassis' not in dut_topo_info:
pytest.skip("Topology is not 'vs_chassis'")
return

for dut_index, duthost in enumerate(duthosts):
Expand Down

0 comments on commit c3fd8ed

Please sign in to comment.