SIENTIAPDE-1314
SIENTIAPDE-1314: Rename core_scouter workflow to sub_core_scouter and update references in scouter.py and test_scouter.py for consistency.
This commit is contained in:
@@ -113,4 +113,4 @@ class Scouter:
|
|||||||
input_data['data'] = data
|
input_data['data'] = data
|
||||||
input_data['metadata'] = metadata
|
input_data['metadata'] = metadata
|
||||||
|
|
||||||
await workflow.execute_child_workflow('core_scouter', input_data)
|
await workflow.execute_child_workflow('sub_core_scouter', input_data)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ with workflow.unsafe.imports_passed_through():
|
|||||||
from scouter.activities.activities import Activities
|
from scouter.activities.activities import Activities
|
||||||
|
|
||||||
|
|
||||||
@workflow.defn(name='core_scouter')
|
@workflow.defn(name='sub_core_scouter')
|
||||||
class CoreScouter:
|
class CoreScouter:
|
||||||
"""
|
"""
|
||||||
Core data processing workflow that handles data quality, aggregation, and export.
|
Core data processing workflow that handles data quality, aggregation, and export.
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ async def test_scouter_workflow(mock_workflow, scouter):
|
|||||||
)
|
)
|
||||||
|
|
||||||
mock_workflow.execute_child_workflow.assert_called_once_with(
|
mock_workflow.execute_child_workflow.assert_called_once_with(
|
||||||
'core_scouter',
|
'sub_core_scouter',
|
||||||
{
|
{
|
||||||
'metadata': expected_metadata,
|
'metadata': expected_metadata,
|
||||||
'topic': 'test_topic',
|
'topic': 'test_topic',
|
||||||
|
|||||||
Reference in New Issue
Block a user