Skip to content

Commit

Permalink
fkix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jul 10, 2024
1 parent f4b34d0 commit d58971b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/test_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def test_multiple_ips(monkeypatch):
None,
2,
[LOCALHOST, LOCALHOST],
[MAPDL_DEFAULT_PORT, MAPDL_DEFAULT_PORT + 1],
[MAPDL_DEFAULT_PORT + 1, MAPDL_DEFAULT_PORT + 2],
NullContext(),
),
pytest.param(
Expand All @@ -604,7 +604,7 @@ def test_multiple_ips(monkeypatch):
None,
3,
[LOCALHOST, LOCALHOST, LOCALHOST],
[MAPDL_DEFAULT_PORT, MAPDL_DEFAULT_PORT + 1, MAPDL_DEFAULT_PORT + 2],
[MAPDL_DEFAULT_PORT + 1, MAPDL_DEFAULT_PORT + 2, MAPDL_DEFAULT_PORT + 3],
NullContext(),
),
pytest.param(
Expand Down Expand Up @@ -773,9 +773,7 @@ def test_ip_port_n_instance(
monkeypatch.delenv("PYMAPDL_START_INSTANCE", raising=False)
monkeypatch.delenv("PYMAPDL_IP", raising=False)
monkeypatch.delenv("PYMAPDL_PORT", raising=False)
monkeypatch.setenv(
"PYMAPDL_MAPDL_EXEC", "/ansys_inc/v222/ansys/bin/ansys222"
) # to avoid trying to find it.
monkeypatch.setenv("PYMAPDL_MAPDL_EXEC", "/ansys_inc/v222/ansys/bin/ansys222")

with context:
conf = MapdlPool(
Expand Down

0 comments on commit d58971b

Please sign in to comment.