Skip to content

Commit e549887

Browse files
committed
test: remove unnecessary test
1 parent fb2ccfb commit e549887

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tests/test_launcher.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -330,28 +330,6 @@ def test_remove_temp_dir_on_exit(mapdl, cleared, tmpdir):
330330
assert os.path.isdir(tmp_dir)
331331

332332

333-
@requires("local")
334-
@requires("nostudent")
335-
def test_remove_temp_dir_on_exit_fail(mapdl, cleared, tmpdir):
336-
"""Ensure the working directory is not removed when the cwd is changed."""
337-
mapdl_ = launch_mapdl(
338-
port=mapdl.port + 1,
339-
remove_temp_dir_on_exit=True,
340-
start_timeout=start_timeout,
341-
additional_switches=QUICK_LAUNCH_SWITCHES,
342-
)
343-
old_path = mapdl_.directory
344-
assert os.path.isdir(str(tmpdir))
345-
mapdl_.cwd(str(tmpdir))
346-
path = mapdl_.directory
347-
mapdl_.exit()
348-
assert os.path.isdir(path)
349-
350-
# Checking no changes in the old path
351-
assert os.path.isdir(old_path)
352-
assert os.listdir(old_path)
353-
354-
355333
@pytest.mark.requires_gui
356334
@pytest.mark.parametrize(
357335
"include_result,inplace,to_check",

0 commit comments

Comments
 (0)