Skip to content

Commit

Permalink
Disable pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
indraniBh committed Aug 16, 2024
1 parent 3cccef9 commit 553f37c
Show file tree
Hide file tree
Showing 55 changed files with 55 additions and 54 deletions.
2 changes: 1 addition & 1 deletion tests/arp/test_arp_packet.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_arp_packet(api, b2b_raw_config_vports, utils, tx_vport, rx_vport):
flow1 = b2b_raw_config_vports.flows[0]
sender_hardware_addr = "00:0C:29:E3:53:EA"
Expand Down
2 changes: 1 addition & 1 deletion tests/arp/test_arp_packet_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_arp_packet_e2e(api, utils, b2b_raw_config):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/bgp_evpn/test_bgp_evpn_attribute_validation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_bgp_evpn_validation(api, utils):
"Validate BGP EVPN Attributes against RestPy"

Expand Down
2 changes: 1 addition & 1 deletion tests/bgp_evpn/test_bgpv6_evpn_attribute_validation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_bgpv6_evpn_validation(api, utils):
"Validate BGP EVPN Attributes against RestPy"

Expand Down
2 changes: 1 addition & 1 deletion tests/convergence/bgp_convergence_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.fixture()
def bgp_convergence_config(utils, cvg_api):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/convergence/test_convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PRIMARY_ROUTES_NAME = "rx_rr"
PRIMARY_PORT_NAME = "rx"


@pytest.mark.skip("skip until migrated to snappi")
def test_convergence(utils, cvg_api, bgp_convergence_config):
"""
1. set convergence config & start traffic
Expand Down
2 changes: 1 addition & 1 deletion tests/errors/test_errors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from snappi_ixnetwork.exceptions import SnappiIxnException


@pytest.mark.skip("skip until migrated to snappi")
def test_Bad_Request_server_side(api, b2b_raw_config, utils):
"""
Configure a raw ethernet flow with,
Expand Down
2 changes: 1 addition & 1 deletion tests/ethernet/test_mac_addrs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_mac_addrs(api, b2b_raw_config_vports, utils, tx_vport, rx_vport):
"""
Configure three raw ethernet flows with ,
Expand Down
2 changes: 1 addition & 1 deletion tests/imix/test_custom_imix_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/imix/test_imix_predefined_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/imix/test_ipv6_imix_predefined_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/imix/test_standard_imix_predefined_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/layer1/test_layer1_speed_AresOne.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.l1_manual
@pytest.mark.parametrize(
"speed",
Expand Down
2 changes: 1 addition & 1 deletion tests/layer1/test_layer1_speed_Novus_100G.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.l1_manual
@pytest.mark.parametrize(
"speed",
Expand Down
2 changes: 1 addition & 1 deletion tests/layer1/test_layer1_speed_Novus_10G.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.l1_manual
@pytest.mark.parametrize(
"speed", ["speed_100_fd_mbps", "speed_1_gbps", "speed_10_gbps"]
Expand Down
2 changes: 1 addition & 1 deletion tests/layer1/test_layer1_uhd.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.fixture
def ixn_session(api):
api.set_config(api.config())
Expand Down
2 changes: 1 addition & 1 deletion tests/loopback/test_loopback_interface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_loopback_interface(b2b_raw_config, api):
p1, p2 = b2b_raw_config.ports
d1, d2 = b2b_raw_config.devices.device(name="tx_bgp").device(name="rx_bgp")
Expand Down
2 changes: 1 addition & 1 deletion tests/metrics/test_diff_latency_mode.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest, re


@pytest.mark.skip("skip until migrated to snappi")
def test_diff_latency_mode(api, b2b_raw_config, tx_port, rx_port):
"""
Ixnetwork supports only one latency mode for all flows
Expand Down
2 changes: 1 addition & 1 deletion tests/metrics/test_flow_metrics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_only_config(api, utils, b2b_raw_config, tx_port, rx_port):
"""This is a test script to test flow metrics,
metrics should be available only for the flows metrics are enabled
Expand Down
2 changes: 1 addition & 1 deletion tests/metrics/test_latency_metrics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_latency_metrics(api, utils, b2b_raw_config, tx_port, rx_port):
"""This is a test script to test latency metrics & timestamps,
metrics& timestamps should be available only for the flows
Expand Down
2 changes: 1 addition & 1 deletion tests/pfc/test_global_pause_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_global_pause_e2e(api, settings, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/pfc/test_global_unpause_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_global_unpause_e2e(api, settings, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/pfc/test_pfc_pause_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
@pytest.mark.parametrize("lossless_priorities", [[3, 4]])
def test_pfc_pause_e2e(api, settings, utils, lossless_priorities):
Expand Down
2 changes: 1 addition & 1 deletion tests/pfc/test_pfc_unpause_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
@pytest.mark.parametrize("lossless_priorities", [[3, 4]])
def test_pfc_unpause_e2e(api, settings, utils, lossless_priorities):
Expand Down
2 changes: 1 addition & 1 deletion tests/ping/test_ping.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
def test_ping(api, b2b_raw_config):
"""
Demonstrates test to send ipv4 and ipv6 pings
Expand Down
2 changes: 1 addition & 1 deletion tests/ping/test_ping_cvg.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_ping_cvg(cvg_api, utils):
"""
Demonstrates test to send ipv4 and ipv6 pings
Expand Down
2 changes: 1 addition & 1 deletion tests/tcp/test_counter_tcp_ports_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_counter_tcp_ports_e2e(api, utils, b2b_raw_config):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/tcp/test_list_tcp_ports_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_list_tcp_ports_e2e(api, utils, b2b_raw_config):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_capture_pcap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.skip(
reason="Fix - intermittent failure as rx ports are not set in capture mode"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_demonstrate_test_structure.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.fixture
def port_configs(api, utils):
"""This fixture demonstrates setting up configurations that consist
Expand Down
2 changes: 1 addition & 1 deletion tests/test_flow_duration_bursts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_flow_duration_bursts(api):
"""
configure flow duration with bursts and validate
Expand Down
2 changes: 1 addition & 1 deletion tests/test_flow_rate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_flow_rates(api, settings):
"""
This will test supported Flow Rate
Expand Down
2 changes: 1 addition & 1 deletion tests/test_flow_size.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.skip(reason="need to fix pfcpause")
def test_flow_sizes(api, settings):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_flow_tracking.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_flow_tracking_stats(api, utils):
config = api.config()
api._enable_flow_tracking(True)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_get_ingress_results.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.skip(reason="Not yet implemented")
def test_get_ingress_results(b2b_raw_config, options, tx_port, rx_port, api):
"""UDP Flow test traffic configuration"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_issue_7.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.fixture
def config_v4_devices(api, utils):
"""Configure bgpv4 devices"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lag.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_static_lag(api, utils):
"""Demonstrates the following:
1) Creating a lag comprised of multiple ports
Expand Down
2 changes: 1 addition & 1 deletion tests/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import snappi
import utils as utl


@pytest.mark.skip("skip until migrated to snappi")
def test_mac_addrs(b2b_raw_config_vports):
"""create snappi api with enable loglevel to logging.DEBUG
Validate loglevel is satting with proper value"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_update_flow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
def test_update_flows(api, b2b_raw_config, utils):
"""
This test is to validate update_flows API
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_device_bgp_ep.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.skip(reason="will be updating the test with new snappi version")
def test_bgpv6_routes(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_ip_device_and_flow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_ip_device_and_flow(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_ip_many_to_many.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_ip_device_and_flow(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_ip_one_to_one.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_ip_device_and_flow(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_stats_filter_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import time


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_tcp_flow_capture.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_tcp_flow_capture(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/traffic/test_traffic_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def test_create_traffic_raw2():
tr_raw = tr_obj.create_traffic(config)
assert tr_raw == expected_raw_type


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.parametrize("v4_or_v6", [4, 6])
def test_create_traffic_device(v4_or_v6):
config = snappi.Api().config()
Expand Down
2 changes: 1 addition & 1 deletion tests/udp/test_udp_fixed_ports_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_udp_fixed_ports_e2e(api, b2b_raw_config, utils):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/udp/test_udp_header_with_counter_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest


@pytest.mark.skip("skip until migrated to snappi")
@pytest.mark.e2e
def test_udp_header_with_counter_e2e(api, b2b_raw_config, utils):
"""
Expand Down
Loading

0 comments on commit 553f37c

Please sign in to comment.