Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-thom committed Aug 27, 2024
1 parent d8c9997 commit 85d3308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 85d3308

Please sign in to comment.