From 6afefe1891d1682e135d92405eb1715aa259f4f8 Mon Sep 17 00:00:00 2001 From: vganesan-nokia <67648637+vganesan-nokia@users.noreply.github.com> Date: Wed, 7 Dec 2022 16:47:12 -0500 Subject: [PATCH] [vstest][virtual chassis] Removed dvs.runcmd using click commands (#2214) [VS] click commands usage is avoided in test_virtual_chassis.py --- tests/test_virtual_chassis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_virtual_chassis.py b/tests/test_virtual_chassis.py index c2fa85248303..46257df94598 100644 --- a/tests/test_virtual_chassis.py +++ b/tests/test_virtual_chassis.py @@ -39,7 +39,7 @@ def config_inbandif_port(self, vct, ibport): # Configure only for line cards if cfg_switch_type == "voq": - dvs.runcmd(f"config interface startup {ibport}") + dvs.port_admin_set(f"{ibport}", "up") config_db.create_entry("VOQ_INBAND_INTERFACE", f"{ibport}", {"inband_type": "port"}) def del_inbandif_port(self, vct, ibport):