kheops/tests/test_plugin_scope.py
2022-06-19 23:21:01 -04:00

35 lines
523 B
Python

import pytest
from kheops.plugin.scope.loop import Plugin
lookups = [
{
'_run':{ 'scope': { 'my': 'scope'}},},
]
conf = {
'var': 'item_loop',
'data': {
"my": 'data',
},
}
@pytest.mark.parametrize(
""
[
test_case("Validate simple loop",
[
lookups, conf,
],
None,
),
])
def test_plugin():
plugin = Plugin()
ret = plugin.process_items()