diff --git a/tests/test_system.py b/tests/test_system.py index 8fdd1c7..8c76b47 100644 --- a/tests/test_system.py +++ b/tests/test_system.py @@ -173,6 +173,7 @@ def check_attached_components(my_sys): assert attached_subsystems[0].name == f"test-subsystem{i}" assert not my_sys.list_parent_components(attached_subsystems[0]) assert my_sys.list_child_components(component) == [bus] + assert my_sys.list_child_components(component, component_type=SimpleBus) == [bus] for component in (bus, gen1, gen2): with pytest.raises(ISOperationNotAllowed):