Skip to content

Commit

Permalink
fix: repair some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Schneider committed Dec 14, 2023
1 parent fd1a66b commit b1464ba
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 529 deletions.
2 changes: 2 additions & 0 deletions capella2polarion/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def synchronize(ctx: click.core.Context) -> None:
aC2PCli.CapellaModel,
aC2PCli.CapellaDiagramCacheIndexContent,
)
# @MH - DEAKTIVIEREN - ACHTUNG!!!!!! @AS
lPW.Simulation = True
# types = elements.get_types(
# ctx.obj["POLARION_TYPE_MAP"], ctx.obj["ELEMENTS"]
# )
Expand Down
2 changes: 1 addition & 1 deletion capella2polarion/c2pcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
self.CapellaDiagramCacheIndexContent: list[
dict[str, typing.Any]
] | None = None
self.CapellaModel: cli_helpers.ModelCLI = capella_model
self.CapellaModel: capellambse.MelodyModel = capella_model
self.SynchronizeConfigIO: typing.TextIO = synchronize_config_io
self.SynchronizeConfigContent: dict[str, typing.Any]
self.SynchronizeConfigRoles: dict[str, list[str]] | None = None
Expand Down
2 changes: 1 addition & 1 deletion capella2polarion/polarion.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
str, serialize.CapellaWorkItem
] # dict[str, typing.Any] = None
self.makeTypeId: typing.Any = aMakeTypeId
self.Simulation: bool = True
self.Simulation: bool = False

def load_elements_and_type_map(
self,
Expand Down
Loading

0 comments on commit b1464ba

Please sign in to comment.