Add governed reusable pipelines and triggers
This commit is contained in:
@@ -2,7 +2,10 @@ from __future__ import annotations
|
||||
|
||||
import unittest
|
||||
|
||||
from govoplan_core.core.dataflows import CAPABILITY_DATAFLOW_RUN_LIFECYCLE
|
||||
from govoplan_core.core.dataflows import (
|
||||
CAPABILITY_DATAFLOW_RUN_LIFECYCLE,
|
||||
CAPABILITY_DATAFLOW_TRIGGER_DISPATCHER,
|
||||
)
|
||||
from govoplan_core.core.modules import ModuleManifest
|
||||
from govoplan_dataflow.backend.manifest import get_manifest
|
||||
|
||||
@@ -24,12 +27,17 @@ class DataflowManifestTests(unittest.TestCase):
|
||||
CAPABILITY_DATAFLOW_RUN_LIFECYCLE,
|
||||
manifest.capability_factories,
|
||||
)
|
||||
self.assertIn(
|
||||
CAPABILITY_DATAFLOW_TRIGGER_DISPATCHER,
|
||||
manifest.capability_factories,
|
||||
)
|
||||
self.assertEqual(
|
||||
{
|
||||
"dataflow.pipeline_catalog",
|
||||
"dataflow.pipeline_preview",
|
||||
"dataflow.run_lifecycle",
|
||||
"dataflow.dataset_output",
|
||||
"dataflow.trigger_dispatcher",
|
||||
},
|
||||
{item.name for item in manifest.provides_interfaces},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user