Commit 56b79657 authored by payno's avatar payno

[unit test] reorder process in order to be more coherent

parent 1419b97c
......@@ -50,21 +50,21 @@ class TestWorkflowFunctions(unittest.TestCase):
read_task = Node(callback=xas.io.read_pymca_xas_from_file)
normalization_task = Node(
callback=xas.core.process.normalization.pymca_normalization)
k_weight_task = Node(callback=xas.core.process.k_weight.pymca_k_weight)
exafs_task = Node(callback=xas.core.process.exafs.pymca_exafs)
k_weight_task = Node(callback=xas.core.process.k_weight.pymca_k_weight)
ft_task = Node(callback=xas.core.process.ft.pymca_ft)
nodes = (
read_task, normalization_task, k_weight_task, exafs_task, ft_task)
read_task, normalization_task, exafs_task, k_weight_task, ft_task)
links = [
Link(source_node=read_task, source_channel='spectra',
sink_node=normalization_task, sink_channel='spectra'),
Link(source_node=normalization_task, source_channel='spectra',
sink_node=k_weight_task, sink_channel='spectra'),
Link(source_node=k_weight_task, source_channel='spectra',
sink_node=exafs_task, sink_channel='spectra'),
Link(source_node=exafs_task, source_channel='spectra',
sink_node=k_weight_task, sink_channel='spectra'),
Link(source_node=k_weight_task, source_channel='spectra',
sink_node=ft_task, sink_channel='spectra'),
]
......@@ -99,10 +99,10 @@ class TestWorkflowCallableClasses(unittest.TestCase):
Link(source_node=read_task, source_channel='spectra',
sink_node=normalization_task, sink_channel='spectra'),
Link(source_node=normalization_task, source_channel='spectra',
sink_node=k_weight_task, sink_channel='spectra'),
Link(source_node=k_weight_task, source_channel='spectra',
sink_node=exafs_task, sink_channel='spectra'),
Link(source_node=exafs_task, source_channel='spectra',
sink_node=k_weight_task, sink_channel='spectra'),
Link(source_node=k_weight_task, source_channel='spectra',
sink_node=ft_task, sink_channel='spectra'),
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment