20 lines
510 B
Python
20 lines
510 B
Python
|
J
|
"""Regression: legacy NodeAgent still importable after the package move."""
|
||
|
|
|
||
|
|
|
||
|
|
def test_import_node_agent_from_package():
|
||
|
|
from ria_toolkit_oss.agent import NodeAgent
|
||
|
|
|
||
|
|
assert NodeAgent.__name__ == "NodeAgent"
|
||
|
|
|
||
|
|
|
||
|
|
def test_main_entry_point_exists():
|
||
|
|
from ria_toolkit_oss.agent import main
|
||
|
|
|
||
|
|
assert callable(main)
|
||
|
|
|
||
|
|
|
||
|
|
def test_legacy_module_still_direct_importable():
|
||
|
|
from ria_toolkit_oss.agent.legacy_executor import NodeAgent as LegacyNodeAgent
|
||
|
|
|
||
|
|
assert LegacyNodeAgent.__name__ == "NodeAgent"
|