Skip to content

Commit

Permalink
TEST: improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzovecchietti committed Dec 24, 2024
1 parent 4660163 commit 094f810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/aedt/core/modules/mesh_icepak.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,8 @@ def assignment(self):
"""
if isinstance(self._assignment, SubRegion):
if self.name in self._app.odesign.GetChildObject("Mesh").GetChildNames():
if self._app.settings.aedt_version < "2024.2": # pragma : no cover
# try to update name, APIs lacking an easy method before 242
# try to update name, APIs lacking an easy method before 242
if self._app.settings.aedt_version < "2024.2": # pragma: no cover
parts = []
subparts = []
if "Parts" in self._app.odesign.GetChildObject("Mesh").GetChildObject(self.name).GetPropNames():
Expand Down

0 comments on commit 094f810

Please sign in to comment.