Skip to content

Commit

Permalink
fxing test
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jan 15, 2024
1 parent c5b4c55 commit 632566f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_mapdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1776,13 +1776,14 @@ def test_deprecation_allow_ignore_errors_mapping(mapdl):

def test_check_stds(mapdl):
mapdl._stdout = "everything is going ok"
mapdl._stderr = ""

mapdl._check_stds()

mapdl._stdout = "one error"
with pytest.raises(MapdlConnectionError, match="one error"):
mapdl._check_stds()

mapdl._stderr = ""
mapdl._stdout = None # resetting
mapdl._check_stds()

Expand Down

0 comments on commit 632566f

Please sign in to comment.