Skip to content

Commit e6d8210

Browse files
test: issue 1868 (named selection beams testing) (#1871)
Co-authored-by: Jacob Kerstetter <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 267e363 commit e6d8210

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

doc/changelog.d/1871.test.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
issue 1868 (named selection beams testing)

tests/integration/test_design.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -488,11 +488,8 @@ def test_named_selection_contents(modeler: Modeler):
488488
assert len(ns.edges) == 1
489489
assert ns.edges[0].id == edge.id
490490

491-
# TODO: When named selection is created using beams...
492-
# the beams are not being added to the named selection for some reason. We cannot
493-
# retrieve them from the NamedSelectionStub.Get() method. This is a bug.
494-
# https://github.com/ansys/pyansys-geometry/issues/1868
495-
# assert len(ns.beams) == 1 # This should be 1
491+
assert len(ns.beams) == 1
492+
assert ns.beams[0].id == beam.id
496493

497494
assert len(ns.design_points) == 0
498495

0 commit comments

Comments
 (0)