Esempio n. 1
0
def test_pipeline_nested_for():
    """Nested jump control-of-flow works with for loop."""
    pipename = 'jump/nestedfor'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 2
0
def test_pipeline_nested_while_for_retry():
    """Nested call control-of-flow works with while AND foreach AND retry."""
    pipename = 'call/nestedwhileforretry'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 3
0
def test_pipeline_nested_retries():
    """Nested call control-of-flow works with while loop."""
    pipename = 'call/nestedretries'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 4
0
def test_pipeline_nested():
    """Nested call control-of-flow works."""
    pipename = 'call/nested'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 5
0
def test_pipeline_nested_while_swallow():
    """Nested call control-of-flow works with while loop swallowing errors."""
    pipename = 'call/nestedwhileswallow'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 6
0
def test_pipeline_nested_for_formatted_groups():
    """Nested call control-of-flow works with groups set dynamically."""
    pipename = 'call/nestedforformatted'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 7
0
def test_pipeline_nested_for_groups_from_iterators():
    """Nested call control-of-flow works with groups set from iterators."""
    pipename = 'call/nestedforgroupsfromiterator'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)
Esempio n. 8
0
def test_pipeline_nested_for_deep():
    """Deep nested call control-of-flow works with for loop."""
    pipename = 'call/nestedfordeep'
    expected = expected_file_name.format(pipename)
    test_pipe_runner.assert_pipeline_notify_match_file(pipename, expected)