Skip to content

Commit

Permalink
Fix code format
Browse files Browse the repository at this point in the history
Signed-off-by: d10n <[email protected]>
  • Loading branch information
d10n committed Nov 14, 2024
1 parent 180c8e1 commit d2ad415
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions tests/trestle/core/control_io_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,14 +408,27 @@ def test_merge_control_update(tmp_path: pathlib.Path, testdata_dir: pathlib.Path
# Given updated template comp_dict from the component definition json
context.comp_dict = {
'This System': {
'': ComponentImpInfo(prose='', rules=[], props=[],
status=common.ImplementationStatus(state='planned', remarks=None)),
'a.': ComponentImpInfo(prose='Text for fancy thing component', rules=[], props=[],
status=common.ImplementationStatus(state='planned', remarks=None)),
'c.': ComponentImpInfo(prose='Just for the default component', rules=[], props=[],
status=common.ImplementationStatus(state='planned', remarks=None)),
'd.': ComponentImpInfo(prose='Example extra component', rules=[], props=[],
status=common.ImplementationStatus(state='planned', remarks=None))
'': ComponentImpInfo(
prose='', rules=[], props=[], status=common.ImplementationStatus(state='planned', remarks=None)
),
'a.': ComponentImpInfo(
prose='Text for fancy thing component',
rules=[],
props=[],
status=common.ImplementationStatus(state='planned', remarks=None)
),
'c.': ComponentImpInfo(
prose='Just for the default component',
rules=[],
props=[],
status=common.ImplementationStatus(state='planned', remarks=None)
),
'd.': ComponentImpInfo(
prose='Example extra component',
rules=[],
props=[],
status=common.ImplementationStatus(state='planned', remarks=None)
)
}
}
control_writer = ControlWriter()
Expand Down

0 comments on commit d2ad415

Please sign in to comment.