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.
20 lines
648 B
20 lines
648 B
import pytest
|
|
|
|
|
|
def test_various_alt_swarms_module_can_be_imported():
|
|
"""Test that various_alt_swarms module can be imported"""
|
|
try:
|
|
from swarms.structs import various_alt_swarms
|
|
assert various_alt_swarms is not None
|
|
except ImportError:
|
|
pytest.skip("Module has import dependencies")
|
|
|
|
|
|
def test_various_alt_swarms_classes_exist():
|
|
"""Test that alternative swarm classes exist"""
|
|
try:
|
|
from swarms.structs.various_alt_swarms import VariousAltSwarm
|
|
assert VariousAltSwarm is not None
|
|
except (ImportError, AttributeError):
|
|
pytest.skip("Classes not available or have dependencies")
|