See <http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/763/changes>
Changes: [Pekka Klärck] Keep last keyword inside for loop when using --RemoveKeywords FOR. Update issue 1227 Status: Done Implemented and tested. Commit contains also some test cleanup/enhancements. [Pekka Klärck] keywordremover: small cleanup ------------------------------------------ Started by an SCM change Building on master in workspace <http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/> [workspace] $ hg showconfig paths.default [workspace] $ hg pull --rev default [workspace] $ hg update --clean --rev default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved [workspace] $ hg log --rev . --template {node} [workspace] $ hg log --rev . --template {rev} [workspace] $ hg log --rev f2385f8928622f82a8b6610bc198c87336f253f8 [workspace] $ hg log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default:0 --follow --prune f2385f8928622f82a8b6610bc198c87336f253f8 [workspace] $ /bin/bash -xe /tmp/hudson3154596396536542830.sh + TZ=GMT15 + python utest/run_utests.py ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFF......................................................................................................................................................................................... ====================================================================== FAIL: test_remove_based_on_multiple_condition (test_configurer.TestRemoveKeywords) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/result/test_configurer.py",> line 221, in test_remove_based_on_multiple_condition assert_equal(len(suite.tests[1].keywords[1].keywords), 0) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 1 != 0 ====================================================================== FAIL: test_remove_for_does_not_remove_for_loop_items_with_warnings (test_configurer.TestRemoveKeywords) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/result/test_configurer.py",> line 209, in test_remove_for_does_not_remove_for_loop_items_with_warnings assert_equal(len(forloop.keywords), 1) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 2 != 1 ====================================================================== FAIL: test_remove_for_removes_for_loop_items_when_item_is_passed (test_configurer.TestRemoveKeywords) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/result/test_configurer.py",> line 186, in test_remove_for_removes_for_loop_items_when_item_is_passed assert_equal(len(forloop.keywords), 0) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 1 != 0 ====================================================================== FAIL: test_remove_for_removes_passing_items_when_there_are_failures (test_configurer.TestRemoveKeywords) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/result/test_configurer.py",> line 203, in test_remove_for_removes_passing_items_when_there_are_failures assert_equal(len(forloop.keywords), 0) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RobotFramework%20Unit%20Tests/ws/utest/../src/robot/utils/asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 1 != 0 ---------------------------------------------------------------------- Ran 1285 tests in 4.825s FAILED (failures=4) Build step 'Execute shell' marked build as failure
