Skip to content

Commit f9f2b04

Browse files
committed
Refactor test_launcher.py/test_launch_server_full_path to use core.misc.get_ansys_path()
1 parent b31ded4 commit f9f2b04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_launcher.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ def test_start_local_wrong_ansys_path(self, server_config):
168168

169169
@pytest.mark.skipif(running_docker, reason="Not made to work on docker")
170170
def test_launch_server_full_path(self, server_config):
171-
ansys_path = os.environ.get(
172-
"AWP_ROOT" + core.misc.__ansys_version__, core.misc.find_ansys()
173-
)
171+
ansys_path = core.misc.get_ansys_path()
174172
if os.name == "nt":
175173
path = os.path.join(ansys_path, "aisol", "bin", "winx64")
176174
else:

0 commit comments

Comments
 (0)