提交 3f6d3fe1 编写于 作者: A Amador Pahim

Merge pull request #1110 from ldoktor/bug_loader

avocado.core.loader: Use make_broken in _make_avocado_tests
......@@ -700,7 +700,7 @@ class FileLoader(TestLoader):
rel_path = '%s.py' % test_name
test_path = os.path.join(data_dir.get_test_dir(), rel_path)
if os.path.exists(test_path):
return self._make_avocado_tests(test_path, list_non_tests,
return self._make_avocado_tests(test_path, make_broken,
subtests_filter, rel_path)
else:
return make_broken(test.MissingTest, test_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册