mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +08:00
Fix inference test setup bug
This commit is contained in:
parent
9dc11b9933
commit
0ace50c068
@ -177,9 +177,10 @@ class TestInference:
|
||||
# The "graph" is the default graph
|
||||
@fixture(scope="function", params=comfy_graph_list, ids=comfy_graph_ids, autouse=False)
|
||||
def _client_graph(self, request, comfy_background_server) -> (ComfyClient, ComfyGraph):
|
||||
configuration, _ = comfy_background_server
|
||||
comfy_graph = request.param
|
||||
# Start client
|
||||
comfy_client = self.start_client(comfy_background_server.listen, comfy_background_server.port)
|
||||
comfy_client = self.start_client(configuration.listen, configuration.port)
|
||||
|
||||
# Warm up pipeline
|
||||
comfy_client.get_images(graph=comfy_graph.graph, save=False)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user