diff --git a/tests/generic_config_updater/conftest.py b/tests/generic_config_updater/conftest.py new file mode 100644 index 00000000000..910658ebfac --- /dev/null +++ b/tests/generic_config_updater/conftest.py @@ -0,0 +1,16 @@ +import pytest + +from tests.common.utilities import skip_version + +@pytest.fixture(autouse=True, scope="module") +def check_image_version(duthost): + """Skips this test if the SONiC image installed on DUT is older than 202106 + + Args: + duthost: Hostname of DUT. + + Returns: + None. + """ + skip_version(duthost, ["201811", "201911", "202012"]) +