Skip to content

Commit

Permalink
fix: add test scenario for bug 584 (#729)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohamed Koubaa <[email protected]>
Co-authored-by: pyansys-ci-bot <[email protected]>
  • Loading branch information
3 people authored Feb 18, 2025
1 parent 3574b77 commit 6790e83
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changelog/729.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: add test scenario for bug 584
2 changes: 2 additions & 0 deletions tests/test_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ def test_read_keyword_no_defaults():
def test_boundary_prescribed_motion_set(ref_string):
b = kwd.BoundaryPrescribedMotionSet()
assert b.write() == ref_string.test_boundary_prescribed_motion_set
b.loads(ref_string.test_boundary_prescribed_motion_set2)
assert b.lcid == 100


@pytest.mark.keywords
Expand Down
3 changes: 3 additions & 0 deletions tests/testfiles/keywords/reference_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@
test_boundary_prescribed_motion_set = """*BOUNDARY_PRESCRIBED_MOTION_SET
$# nsid dof vad lcid sf vid death birth
0 0 1.0 1e+28 0.0"""

test_boundary_prescribed_motion_set2 = """*BOUNDARY_PRESCRIBED_MOTION_SET
100 1 2 100 0.0 0 2.0 0.0"""

test_constrained_beam_in_solid = """*CONSTRAINED_BEAM_IN_SOLID
$# bside ssid bstyp sstyp unused unused ncoup cdir
Expand Down

0 comments on commit 6790e83

Please sign in to comment.