Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tests/snmp/test_snmp_phy_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@
XCVR_DOM_KEY_TEMPLATE = 'TRANSCEIVER_DOM_SENSOR|{}'


@pytest.fixture(autouse=True, scope="module")
def check_image_version(duthost):
"""Skip the test for unsupported images."""
if "201911" in duthost.os_version:
pytest.skip('Test not supported for 201911 images. Skipping the test')
yield


@pytest.fixture(scope="module")
def snmp_physical_entity_info(duthost, localhost, creds):
"""
Expand Down