From 85d33085102b5292abc0669964104d1232f5e10e Mon Sep 17 00:00:00 2001 From: Daniel Thom Date: Tue, 27 Aug 2024 13:12:29 -0600 Subject: [PATCH] Add test --- tests/test_system.py | 1 + 1 file changed, 1 insertion(+) 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):