MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / create_test_workflow

Function create_test_workflow

tests/rust_unit_tests/test_helpers.rs:109–115  ·  view source on GitHub ↗

Test Workflow Builder

()

Source from the content-addressed store, hash-verified

107#[allow(dead_code)]
108// Test Workflow Builder
109pub(super) fn create_test_workflow() -> graphbit_core::workflow::Workflow {
110 WorkflowBuilder::new("test_workflow")
111 .description("A test workflow")
112 .metadata("test_key".to_string(), serde_json::json!("test_value"))
113 .build()
114 .unwrap()
115}
116
117#[allow(dead_code)]
118// Test Node Creation

Callers

nothing calls this directly

Calls 4

to_stringMethod · 0.80
buildMethod · 0.45
metadataMethod · 0.45
descriptionMethod · 0.45

Tested by

no test coverage detected