|
|
|
@ -52,7 +52,7 @@ def init_http_node(config: dict):
|
|
|
|
variable_pool.add(["a", "b123", "args1"], 1)
|
|
|
|
variable_pool.add(["a", "b123", "args1"], 1)
|
|
|
|
variable_pool.add(["a", "b123", "args2"], 2)
|
|
|
|
variable_pool.add(["a", "b123", "args2"], 2)
|
|
|
|
|
|
|
|
|
|
|
|
return HttpRequestNode(
|
|
|
|
node = HttpRequestNode(
|
|
|
|
id=str(uuid.uuid4()),
|
|
|
|
id=str(uuid.uuid4()),
|
|
|
|
graph_init_params=init_params,
|
|
|
|
graph_init_params=init_params,
|
|
|
|
graph=graph,
|
|
|
|
graph=graph,
|
|
|
|
@ -60,6 +60,12 @@ def init_http_node(config: dict):
|
|
|
|
config=config,
|
|
|
|
config=config,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Initialize node data
|
|
|
|
|
|
|
|
if "data" in config:
|
|
|
|
|
|
|
|
node.init_node_data(config["data"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return node
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.parametrize("setup_http_mock", [["none"]], indirect=True)
|
|
|
|
@pytest.mark.parametrize("setup_http_mock", [["none"]], indirect=True)
|
|
|
|
def test_get(setup_http_mock):
|
|
|
|
def test_get(setup_http_mock):
|
|
|
|
|