From 0d7cd5f175982f74ad52f76fbaa441ea690cf270 Mon Sep 17 00:00:00 2001 From: junchao Date: Tue, 10 May 2022 11:24:12 +0800 Subject: [PATCH] express invalid LGTM warning Change-Id: If6e571d803b7ba8702164f000ac7a0a10919f175 --- tests/bgp/test_bgp_speaker.py | 2 +- tests/route/test_route_flow_counter.py | 2 +- tests/vxlan/test_vnet_vxlan.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bgp/test_bgp_speaker.py b/tests/bgp/test_bgp_speaker.py index 81902b12623..bbb1e2c41c9 100644 --- a/tests/bgp/test_bgp_speaker.py +++ b/tests/bgp/test_bgp_speaker.py @@ -15,7 +15,7 @@ from tests.common.utilities import wait_tcp_connection from tests.common.helpers.assertions import pytest_require from tests.common.utilities import wait_until -from tests.flow_counter.flow_counter_utils import RouteFlowCounterTestContext, is_route_flow_counter_supported +from tests.flow_counter.flow_counter_utils import RouteFlowCounterTestContext, is_route_flow_counter_supported # lgtm[py/unused-import] pytestmark = [ diff --git a/tests/route/test_route_flow_counter.py b/tests/route/test_route_flow_counter.py index abb2a473a0b..448331d80e6 100644 --- a/tests/route/test_route_flow_counter.py +++ b/tests/route/test_route_flow_counter.py @@ -3,7 +3,7 @@ import pytest from tests.common.helpers.assertions import pytest_assert, pytest_require from tests.flow_counter import flow_counter_utils -from tests.flow_counter.flow_counter_utils import check_route_flow_counter_supported +from tests.flow_counter.flow_counter_utils import check_route_flow_counter_supported # lgtm[py/unused-import] logger = logging.getLogger(__name__) diff --git a/tests/vxlan/test_vnet_vxlan.py b/tests/vxlan/test_vnet_vxlan.py index 92568d3359e..87f3b0e6ada 100644 --- a/tests/vxlan/test_vnet_vxlan.py +++ b/tests/vxlan/test_vnet_vxlan.py @@ -14,7 +14,7 @@ from tests.common.fixtures.ptfhost_utils import remove_ip_addresses, change_mac_addresses, \ copy_arp_responder_py, copy_ptftests_directory -from tests.flow_counter.flow_counter_utils import RouteFlowCounterTestContext, is_route_flow_counter_supported +from tests.flow_counter.flow_counter_utils import RouteFlowCounterTestContext, is_route_flow_counter_supported # lgtm[py/unused-import] import tests.arp.test_wr_arp as test_wr_arp from tests.common.config_reload import config_reload