Skip to content
Open
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
5 changes: 3 additions & 2 deletions tests/installers/test_port_allocator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Tests for host-port allocation: every handed-out port is probed free."""
import socket

from tinyagentos.installers.base import AppInstaller
from tinyagentos.installers.docker_installer import DockerInstaller
from tinyagentos.installers.lxc_installer import LXCInstaller
from tinyagentos.installers.port_allocator import (
Expand Down Expand Up @@ -129,5 +130,5 @@ def test_allocate_host_port_imported(self):
)

def test_installer_class_available(self):
"""LXCInstaller is importable (sanity check — no import errors from the refactor)."""
assert LXCInstaller is not None
"""LXCInstaller is a proper AppInstaller subclass (class hierarchy regression check)."""
assert issubclass(LXCInstaller, AppInstaller)
Loading