Skip to content

Commit

Permalink
Remove unused fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Jul 25, 2022
1 parent 056624d commit 78894f6
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,39 +244,6 @@ def server_type(request):
def server_type_remote_process(request):
return core.start_local_server(config=request.param, as_global=False)

@pytest.fixture(scope="session", params=[ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=True),
ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=False),
ServerConfig(protocol=CommunicationProtocols.InProcess,
legacy=False)],
ids=[
"ansys-grpc-dpf config",
"gRPC CLayer config",
"in Process CLayer config"
])
def config_server_type(request):
return request.param

@pytest.fixture(scope="session", params=[ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=True),
ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=False)],
ids=[
"ansys-grpc-dpf config",
"gRPC CLayer config"
])
def remote_config_server_type(request):
return request.param

@pytest.fixture(scope="session", params=[ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=True)],
ids=[
"ansys-grpc-dpf",
])
def server_type_legacy_grpc(request):
return core.start_local_server(config=request.param, as_global=False)

else:

@pytest.fixture(scope="session")
Expand All @@ -293,26 +260,6 @@ def server_type():
def server_type_remote_process(request):
return core._global_server()

@pytest.fixture(scope="session", params=[ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=True)],
ids=[
"ansys-grpc-dpf",
])
def config_server_type(request):
return request.param

@pytest.fixture(scope="session", params=[ServerConfig(protocol=CommunicationProtocols.gRPC,
legacy=True)],
ids=[
"ansys-grpc-dpf",
])
def remote_config_server_type(request):
return request.param

@pytest.fixture(scope="session")
def server_type_legacy_grpc(request):
return core._global_server()


@pytest.fixture(
scope="session",
Expand Down

0 comments on commit 78894f6

Please sign in to comment.