Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Change-Id: Ia784fc3ad19483fbc84ebd657066c0bce218c273
  • Loading branch information
Junchao-Mellanox committed May 12, 2022
1 parent 0d7cd5f commit 6f2fe3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/route/test_route_flow_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 # lgtm[py/unused-import]
from tests.flow_counter.flow_counter_utils import is_route_flow_counter_supported # lgtm[py/unused-import]

logger = logging.getLogger(__name__)

Expand All @@ -28,13 +28,13 @@


@pytest.fixture(scope='function', autouse=True)
def skip_if_not_supported(check_route_flow_counter_supported):
def skip_if_not_supported(is_route_flow_counter_supported):
"""Skip the test if route flow counter is not supported on this platform
Args:
rand_selected_dut (object): DUT object
"""
pytest_require(check_route_flow_counter_supported, 'route flow counter is not supported')
pytest_require(is_route_flow_counter_supported, 'route flow counter is not supported')


@pytest.fixture(scope='function', autouse=True)
Expand Down

0 comments on commit 6f2fe3e

Please sign in to comment.