diff --git a/capellambse/model/crosslayer/fa.py b/capellambse/model/crosslayer/fa.py index ae96253b6..c242297e5 100644 --- a/capellambse/model/crosslayer/fa.py +++ b/capellambse/model/crosslayer/fa.py @@ -164,7 +164,7 @@ class FunctionalChainInvolvementLink(c.GenericElement): @property def name(self) -> str: # type: ignore - return f"[{self.__class__.__name__}] to {self.involved.name}({self.involved.uuid})" + return f"[{self.__class__.__name__}] to {self.involved.name} ({self.involved.uuid})" @c.xtype_handler(None) diff --git a/tests/test_model_layers.py b/tests/test_model_layers.py index 26bf67e43..4e0c68726 100644 --- a/tests/test_model_layers.py +++ b/tests/test_model_layers.py @@ -519,7 +519,7 @@ def test_FunctionalChainInvolvementLink_attributes( ex_item_uuids = [ex.uuid for ex in link.exchanged_items] expected_uuids = ["1ca7b206-be29-4315-a036-0b532b26a191"] expected_context = "This is a test context." - expected_end = f"{target.name}({target.uuid})" + expected_end = f"{target.name} ({target.uuid})" assert link in chain.involvements assert ex_item_uuids == expected_uuids