Skip to content

Commit

Permalink
Update conftest.py to switch mapdl.tbdat to mapdl.tbdata (#3362)
Browse files Browse the repository at this point in the history
* Update conftest.py

fixing newly added mapdl.tbdat to mapdl.tbdata to fix the following

[ERROR] TestFieldComponentValueGetter.test_temp - E           AttributeError: 'MapdlGrpc' object has no attribute 'tbdat'
[ERROR] TestFieldComponentValueGetter.test_pressure - E           AttributeError: 'MapdlGrpc' object has no attribute 'tbdat'
[ERROR] TestFieldComponentValueGetter.test_volt - E           AttributeError: 'MapdlGrpc' object has no attribute 'tbdat'
[ERROR] TestFieldComponentValueGetter.test_mag - E           AttributeError: 'MapdlGrpc' object has no attribute 'tbdat'

* chore: adding changelog file 3362.miscellaneous.md

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
dts12263 and pyansys-ci-bot authored Aug 19, 2024
1 parent 4d5a791 commit 1afdd5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changelog.d/3362.miscellaneous.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update conftest.py to switch mapdl.tbdat to mapdl.tbdata
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def box_with_fields(cleared, mapdl):
mapdl.mp("murx", 1, 1)
if mapdl.version >= 25.1:
mapdl.tb("pm", 1, "", "", "perm")
mapdl.tbdat("", 0)
mapdl.tbdata("", 0)

mapdl.et(1, "SOLID70")
mapdl.et(2, "CPT215")
Expand Down

0 comments on commit 1afdd5d

Please sign in to comment.