diff --git a/tests/test_mgmtvrf.py b/tests/test_mgmtvrf.py index 8dada6c209a..a613bb8c7de 100644 --- a/tests/test_mgmtvrf.py +++ b/tests/test_mgmtvrf.py @@ -9,6 +9,10 @@ logger = logging.getLogger(__name__) +# fixtures +@pytest.fixture(scope="module") +def localhost(testbed_devices): + return testbed_devices['localhost'] @pytest.fixture(scope='module',autouse=True) def setup_mvrf(duthost, testbed_devices, testbed, localhost):