Repository: incubator-slider Updated Branches: refs/heads/feature/SLIDER-401_slider-agent_tests_on_windows ce3f7009e -> b323df811
SLIDER-401 agent tests on windows Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/b323df81 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/b323df81 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/b323df81 Branch: refs/heads/feature/SLIDER-401_slider-agent_tests_on_windows Commit: b323df811a138a0880b60be95d9150419d1dcb85 Parents: ce3f700 Author: Steve Loughran <ste...@apache.org> Authored: Fri Sep 5 13:53:05 2014 +0100 Committer: Steve Loughran <ste...@apache.org> Committed: Fri Sep 5 13:53:05 2014 +0100 ---------------------------------------------------------------------- slider-agent/src/test/python/unitTests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/b323df81/slider-agent/src/test/python/unitTests.py ---------------------------------------------------------------------- diff --git a/slider-agent/src/test/python/unitTests.py b/slider-agent/src/test/python/unitTests.py index bab121f..6aa0167 100644 --- a/slider-agent/src/test/python/unitTests.py +++ b/slider-agent/src/test/python/unitTests.py @@ -70,8 +70,9 @@ def all_tests_suite(): else: for file_name in files_list: if file_name.endswith(PY_EXT) and not file_name == __file__: - logger.info(file_name) - tests_list.append(file_name.replace(PY_EXT, '')) + replaced = file_name.replace(PY_EXT, '') + logger.info(replaced) + tests_list.append(replaced) logger.info('------------------------------------------------------------------------') suite = unittest.TestLoader().loadTestsFromNames(tests_list)