mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +08:00
Merge branch 'hiddenswitch:master' into master
This commit is contained in:
commit
697d7603cb
@ -175,12 +175,12 @@ class TestInference:
|
||||
#
|
||||
# Returns a "_client_graph", which is client-graph pair corresponding to an initialized server
|
||||
# The "graph" is the default graph
|
||||
@fixture(scope="class", params=comfy_graph_list, ids=comfy_graph_ids, autouse=False)
|
||||
def _client_graph(self, request, args_pytest, comfy_background_server) -> (ComfyClient, ComfyGraph):
|
||||
@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(args_pytest["listen"], args_pytest["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