@@ -383,9 +383,17 @@ class as the superclass of every concrete model element
383383 return a list of every Logical Component in the model:
384384
385385 >>> model.search("LogicalComponent")
386+ [0] <LogicalComponent 'Hogwarts' (0d2edb8f-fa34-4e73-89ec-fb9a63001440)>
387+ ...
386388 >>> model.search("org.polarsys.capella.core.data.la:LogicalComponent")
389+ [0] <LogicalComponent 'Hogwarts' (0d2edb8f-fa34-4e73-89ec-fb9a63001440)>
390+ ...
387391 >>> model.search( (capellambse.metamodel.la.NS, "LogicalComponent") )
392+ [0] <LogicalComponent 'Hogwarts' (0d2edb8f-fa34-4e73-89ec-fb9a63001440)>
393+ ...
388394 >>> model.search( ("org.polarsys.capella.core.data.la", "LogicalComponent") )
395+ [0] <LogicalComponent 'Hogwarts' (0d2edb8f-fa34-4e73-89ec-fb9a63001440)>
396+ ...
389397 """
390398 classes : set [type [_obj .ModelObject ]] = set ()
391399 for clsname in clsnames :
@@ -628,18 +636,18 @@ def update_diagram_cache(
628636 Passing a bare filename looks up the executable in the PATH,
629637 after replacing a possible '{VERSION}' field:
630638
631- >>> model.update_diagram_cache("capella", "png")
632- >>> model.update_diagram_cache("capella{VERSION}", "png")
639+ >>> model.update_diagram_cache("capella", "png") # doctest: +SKIP
640+ >>> model.update_diagram_cache("capella{VERSION}", "png") # doctest: +SKIP
633641
634642 Passing an absolute path to a local installation of Capella that
635643 contains the Capella version will use that executable:
636644
637- >>> model.update_diagram_cache("/opt/capella{VERSION}/capella", "png")
645+ >>> model.update_diagram_cache("/opt/capella{VERSION}/capella", "png") # doctest: +SKIP
638646
639647 Passing a docker image name will launch a docker container, using the
640648 Capella binary at the image's ENTRYPOINT:
641649
642- >>> model.update_diagram_cache(
650+ >>> model.update_diagram_cache( # doctest: +SKIP
643651 ... "ghcr.io/dsd-dbs/capella-dockerimages/capella/base:{VERSION}-selected-dropins-main",
644652 ... "png",
645653 ... )
0 commit comments