Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-298-Test-suite-sometimes-fails-or-freezes-while-all-tests-pass a3735ba06 -> 33c4eaea0
pylint fixes Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/33c4eaea Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/33c4eaea Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/33c4eaea Branch: refs/heads/ARIA-298-Test-suite-sometimes-fails-or-freezes-while-all-tests-pass Commit: 33c4eaea0d24f25c44fe83a57d99ac1630182c6c Parents: a3735ba Author: max-orlov <[email protected]> Authored: Tue Jul 4 14:28:43 2017 +0300 Committer: max-orlov <[email protected]> Committed: Tue Jul 4 14:28:43 2017 +0300 ---------------------------------------------------------------------- tests/orchestrator/workflows/core/test_events.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/33c4eaea/tests/orchestrator/workflows/core/test_events.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/workflows/core/test_events.py b/tests/orchestrator/workflows/core/test_events.py index ac1750e..d804de5 100644 --- a/tests/orchestrator/workflows/core/test_events.py +++ b/tests/orchestrator/workflows/core/test_events.py @@ -81,7 +81,8 @@ def test_node_state_changes_as_a_result_of_standard_lifecycle_create_shorthand_n _assert_node_state_changed_as_a_result_of_standard_lifecycle_operation(node, 'create') -def test_node_state_changes_as_a_result_of_standard_lifecycle_configure_shorthand_name(ctx, executor): +def test_node_state_changes_as_a_result_of_standard_lifecycle_configure_shorthand_name( + ctx, executor): node = run_operation_on_node( ctx, interface_name=SHORTHAND_NAME, op_name='configure', executor=executor) _assert_node_state_changed_as_a_result_of_standard_lifecycle_operation(node, 'configure') @@ -105,13 +106,15 @@ def test_node_state_changes_as_a_result_of_standard_lifecycle_delete_shorthand_n _assert_node_state_changed_as_a_result_of_standard_lifecycle_operation(node, 'delete') -def test_node_state_doesnt_change_as_a_result_of_an_operation_that_is_not_standard_lifecycle1(ctx, executor): +def test_node_state_doesnt_change_as_a_result_of_an_operation_that_is_not_standard_lifecycle1( + ctx, executor): node = run_operation_on_node( ctx, interface_name='interface_name', op_name='op_name', executor=executor) assert node.state == node.INITIAL -def test_node_state_doesnt_change_as_a_result_of_an_operation_that_is_not_standard_lifecycle2(ctx, executor): +def test_node_state_doesnt_change_as_a_result_of_an_operation_that_is_not_standard_lifecycle2( + ctx, executor): node = run_operation_on_node( ctx, interface_name='interface_name', op_name='create', executor=executor) assert node.state == node.INITIAL @@ -165,4 +168,4 @@ def executor(): try: yield result finally: - result.close() \ No newline at end of file + result.close()
