Skip to content

Commit

Permalink
test: catching state change
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Feb 21, 2025
1 parent 319d132 commit 9a38649
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ def run_before_and_after_tests(
mapdl.prep7()

# Check resetting state
assert mapdl._stub is not None
assert prev == mapdl.is_local
assert not mapdl.exited, "MAPDL is exited after the test. It should have not!"
assert not mapdl._mapdl_on_hpc, "Mapdl class is on HPC mode. It should not!"
Expand Down

0 comments on commit 9a38649

Please sign in to comment.