Skip to content

Commit

Permalink
fix setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
shmir committed Oct 12, 2022
1 parent 1e51c1d commit 477f693
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ include_package_data = True
packages = find:
install_requires =
paramiko
pytrafficgen>=4.0.0,<4.1.0

[options.packages.find]
exclude =
docs*
tests*

entry_points={"console_scripts": ["tcl_cli = ixexplorer.samples.tcl_cli:main"]},
[options.entry_points]
console_scripts =
tcl_cli = ixexplorer.samples.tcl_cli:main

[isort]
profile=black
Expand Down
12 changes: 2 additions & 10 deletions tests/test_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,15 @@

from ixexplorer.ixe_app import IxeApp
from ixexplorer.ixe_object import IxeObject
from ixexplorer.ixe_port import IxePortCpu, IxeReceiveMode
from ixexplorer.ixe_port import IxeReceiveMode
from tests import _load_configs


# pylint: disable=unused-argument
def test_hello_world(ixia: IxeApp) -> None:
"""Verify setup and connectivity."""


def test_clear(ixia: IxeApp, locations: List[str]) -> None:
"""Test clear ports without reservation."""
for port in ixia.session.add_ports(*locations).values():
port.release(force=True)
port.clear(stats=False)
IxePortCpu(port).reset_cpu()


def test_load_config(ixia: IxeApp, locations: List[str]) -> None:
"""Load configuration and test different configuration objects."""
ixia.session.add_ports(*locations)
Expand Down Expand Up @@ -151,7 +144,6 @@ def test_write_after_write(ixia: IxeApp, locations: List[str]) -> None:
assert port2_stream1.ip.destIpAddr == "1.1.1.2"


# noqa: T201
def test_discover(ixia: IxeApp) -> None:
"""Test chassis discovery."""
chassis = list(ixia.chassis_chain.values())[0]
Expand Down

0 comments on commit 477f693

Please sign in to comment.