We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ae14d commit 5a80570Copy full SHA for 5a80570
tests/test_service.py
@@ -30,7 +30,7 @@
30
import pytest
31
32
from ansys import dpf
33
-from ansys.dpf.core import examples, path_utilities
+from ansys.dpf.core import check_version, examples, path_utilities
34
import conftest
35
from conftest import running_docker
36
@@ -510,7 +510,7 @@ def test_server_without_context(remote_config_server_type):
510
)
511
none_type = dpf.core.AvailableServerContexts.no_context.licensing_context_type
512
assert server.context.licensing_context_type == none_type
513
- if server.check_version("10.0"): # Before, there was a bug
+ if check_version.server_meet_version_and_raise("10.0", server): # Before, there was a bug
514
assert len(dpf.core.available_operator_names(server=server)) < 20
515
516
0 commit comments