We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267e363 commit e6d8210Copy full SHA for e6d8210
doc/changelog.d/1871.test.md
@@ -0,0 +1 @@
1
+issue 1868 (named selection beams testing)
tests/integration/test_design.py
@@ -488,11 +488,8 @@ def test_named_selection_contents(modeler: Modeler):
488
assert len(ns.edges) == 1
489
assert ns.edges[0].id == edge.id
490
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
+ assert len(ns.beams) == 1
+ assert ns.beams[0].id == beam.id
496
497
assert len(ns.design_points) == 0
498
0 commit comments