File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2626
2727from ansys .dpf import core as dpf
2828from ansys .dpf .core import examples
29+ import conftest
2930from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_5_0
3031
3132
@@ -134,3 +135,13 @@ def test_vtk(server_type, tmpdir):
134135 # print(e)
135136 # pass
136137 # assert os.path.exists(tmp_path)
138+
139+
140+ def test_load_library_default_name (config_server_type ):
141+ xml_path = Path (conftest .DEFAULT_ANSYS_PATH ) / "dpf" / "utilities" / "DpfCustomDefined.xml"
142+ server_context = dpf .server_context .ServerContext (xml_path = str (xml_path ))
143+ print (server_context )
144+ server = dpf .start_local_server (config = config_server_type , context = server_context )
145+ print (server .plugins )
146+ # TODO: fix use of custom XML at server startup. The above should only show grpc loaded
147+ # https://github.com/ansys/pydpf-core/issues/2666
You can’t perform that action at this time.
0 commit comments