Recognize python test files like: test_*.py .

This commit is contained in:
Andrew Hamilton 2016-02-19 23:41:46 +00:00
parent 8283132eed
commit 1dfb04841c
6 changed files with 23 additions and 11 deletions

View file

@ -75,7 +75,9 @@ class ToolsTestCase(unittest.TestCase):
def test_python_unittests(self):
self._test_tool(tools.python_unittests,
[("hi3.py", tools.Status.not_applicable),
("hi.py", tools.Status.not_applicable)])
("hi.py", tools.Status.not_applicable),
("hi3_test.py", tools.Status.ok),
("test_foo.py", tools.Status.ok)])
HI_NORMAL = [("hi3.py", tools.Status.normal),
("hi.py", tools.Status.normal)]