Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/bgp/test_bgp_fact.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_bgp_facts(duthost):
Expand Down
3 changes: 2 additions & 1 deletion tests/bgp/test_bgp_gr_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from common.utilities import wait_until

pytestmark = [
pytest.mark.topology('t1')
pytest.mark.topology('t1'),
pytest.mark.device_type('vs')
]

logger = logging.getLogger(__name__)
Expand Down
3 changes: 2 additions & 1 deletion tests/bgp/test_bgp_speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
from common.utilities import wait_tcp_connection

pytestmark = [
pytest.mark.topology('t0')
pytest.mark.topology('t0'),
pytest.mark.device_type('vs')
]

def generate_ips(num, prefix, exclude_ips):
Expand Down
3 changes: 2 additions & 1 deletion tests/cacl/test_control_plane_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

pytestmark = [
pytest.mark.disable_loganalyzer, # disable automatic loganalyzer globally
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

SONIC_SSH_PORT = 22
Expand Down
3 changes: 2 additions & 1 deletion tests/dhcp_relay/test_dhcp_relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from ptf_runner import ptf_runner

pytestmark = [
pytest.mark.topology('t0')
pytest.mark.topology('t0'),
pytest.mark.device_type('vs')
]

@pytest.fixture(scope="module")
Expand Down
3 changes: 2 additions & 1 deletion tests/lldp/test_lldp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
logger = logging.getLogger(__name__)

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

@pytest.fixture(scope="module", autouse=True)
Expand Down
3 changes: 2 additions & 1 deletion tests/ntp/test_ntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
pytestmark = [
pytest.mark.sanity_check(skip_sanity=True),
pytest.mark.disable_loganalyzer,
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

@pytest.fixture(scope="module")
Expand Down
3 changes: 2 additions & 1 deletion tests/pc/test_po_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import logging

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_po_update(duthost):
Expand Down
3 changes: 2 additions & 1 deletion tests/route/test_default_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
from common.helpers.assertions import pytest_assert

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

logger = logging.getLogger(__name__)
Expand Down
3 changes: 2 additions & 1 deletion tests/snmp/test_snmp_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
logger = logging.getLogger(__name__)

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

@pytest.mark.bsl
Expand Down
3 changes: 2 additions & 1 deletion tests/snmp/test_snmp_interfaces.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

@pytest.mark.bsl
Expand Down
3 changes: 2 additions & 1 deletion tests/snmp/test_snmp_lldp.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

@pytest.fixture(scope="module", autouse=True)
Expand Down
3 changes: 2 additions & 1 deletion tests/snmp/test_snmp_pfc_counters.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_snmp_pfc_counters(duthost, localhost, creds):
Expand Down
3 changes: 2 additions & 1 deletion tests/snmp/test_snmp_queue.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_snmp_queues(duthost, localhost, creds, collect_techsupport):
Expand Down
3 changes: 2 additions & 1 deletion tests/tacacs/test_ro_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
pytestmark = [
pytest.mark.sanity_check(skip_sanity=True),
pytest.mark.disable_loganalyzer,
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_ro_user(localhost, duthost, creds, setup_tacacs):
Expand Down
3 changes: 2 additions & 1 deletion tests/tacacs/test_rw_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
pytestmark = [
pytest.mark.sanity_check(skip_sanity=True),
pytest.mark.disable_loganalyzer,
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_rw_user(duthost, creds, setup_tacacs):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import pytest

pytestmark = [
pytest.mark.topology('any')
pytest.mark.topology('any'),
pytest.mark.device_type('vs')
]

def test_interfaces(duthost):
Expand Down