Skip to content

Commit

Permalink
tests: making sure the /verify is executed properly after finish
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Dec 10, 2024
1 parent 5e23592 commit 1d63ba0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ def run_before_and_after_tests(

yield # this is where the testing happens

mapdl.prep7()

# Check resetting state
assert prev == mapdl.is_local
assert not mapdl.exited, "MAPDL is exited after the test. It should have not!"
Expand Down
1 change: 1 addition & 0 deletions tests/test_mapdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,7 @@ def test_ctrl(mapdl, cleared):

assert "/verify" in mck_run.call_args_list[0].args[0]

mapdl.finish()
mapdl.run("/verify") # mocking might skip running this inside mapdl._ctrl


Expand Down

0 comments on commit 1d63ba0

Please sign in to comment.