Disabled a flaky test.

This commit is contained in:
Andrew Hamilton 2017-07-09 21:22:36 +01:00
parent 1509b9964c
commit 1b4d90a7f0

View file

@ -91,12 +91,13 @@ class ToolsTestCase(unittest.TestCase):
def test_python_syntax(self):
self._test_tool(tools.python_syntax, self.HI_OK)
def test_python_unittests(self):
self._test_tool(tools.python_unittests,
[("hi3.py", tools.Status.not_applicable),
("hi.py", tools.Status.not_applicable),
("hi3_test.py", tools.Status.ok),
("test_foo.py", tools.Status.ok)])
# FIX: python_unittests has a time duration in its output.
# def test_python_unittests(self):
# self._test_tool(tools.python_unittests,
# [("hi3.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)]