Skip to content

Commit

Permalink
Network fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Xierumeng committed Nov 3, 2024
1 parent 91f63e6 commit 053e5d9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
Empty file added tests/unit/network/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions tests/unit/network/test_send_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
ROOT_DIR = Path(__file__).parent


# TODO: This test is hangs. Disable for now.
pytestmark = pytest.mark.skipif(True, reason="This test is hangs. Disable for now.")
# TODO: This test hangs. Disable for now.
pytestmark = pytest.mark.skipif(True, reason="This test hangs. Disable for now.")


@pytest.fixture
Expand Down
4 changes: 4 additions & 0 deletions tests/unit/network/test_tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
True, reason="This file requires a server so it is not a unit test!"
)

# Both tests have similar setup
# No enable
# pylint: disable=duplicate-code


@pytest.fixture
def test_messages() -> "Generator[bytes]":
Expand Down
4 changes: 4 additions & 0 deletions tests/unit/network/test_udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
True, reason="This file requires a server so it is not a unit test!"
)

# Both tests have similar setup
# No enable
# pylint: disable=duplicate-code


@pytest.fixture
def test_messages() -> "Generator[bytes]":
Expand Down

0 comments on commit 053e5d9

Please sign in to comment.