Skip to content

Commit

Permalink
add skip_if_no_ports fixture back to test_snmp_default_route, it was …
Browse files Browse the repository at this point in the history
…removed by mistack- test shouldn't run on setup with no ports
  • Loading branch information
slutati1536 committed Aug 17, 2021
1 parent 3273768 commit bc97af9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/snmp/test_snmp_default_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@


@pytest.mark.bsl
def test_snmp_default_route(duthosts, enum_rand_one_per_hwsku_frontend_hostname, localhost, creds_all_duts, tbinfo):
def test_snmp_default_route(duthosts, enum_rand_one_per_hwsku_frontend_hostname, localhost,
creds_all_duts, tbinfo, skip_if_no_ports):
"""compare the snmp facts between observed states and target state"""

duthost = duthosts[enum_rand_one_per_hwsku_frontend_hostname]
Expand Down

0 comments on commit bc97af9

Please sign in to comment.