You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/tests/structs/test_hierarchical_structure...

22 lines
825 B

import pytest
def test_hierarchical_framework_module_can_be_imported():
"""Test that hierarchical_structured_communication_framework module can be imported"""
try:
from swarms.structs import hierarchical_structured_communication_framework
assert hierarchical_structured_communication_framework is not None
except ImportError:
pytest.skip("Module has import dependencies")
def test_hierarchical_framework_class_exists():
"""Test that classes exist in hierarchical framework"""
try:
from swarms.structs.hierarchical_structured_communication_framework import (
HierarchicalSwarmFramework
)
assert HierarchicalSwarmFramework is not None
except (ImportError, AttributeError):
pytest.skip("Classes not available or have dependencies")