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): def test_python_syntax(self):
self._test_tool(tools.python_syntax, self.HI_OK) self._test_tool(tools.python_syntax, self.HI_OK)
def test_python_unittests(self): # FIX: python_unittests has a time duration in its output.
self._test_tool(tools.python_unittests, # def test_python_unittests(self):
[("hi3.py", tools.Status.not_applicable), # self._test_tool(tools.python_unittests,
("hi.py", tools.Status.not_applicable), # [("hi3.py", tools.Status.not_applicable),
("hi3_test.py", tools.Status.ok), # ("hi.py", tools.Status.not_applicable),
("test_foo.py", tools.Status.ok)]) # ("hi3_test.py", tools.Status.ok),
# ("test_foo.py", tools.Status.ok)])
HI_NORMAL = [("hi3.py", tools.Status.normal), HI_NORMAL = [("hi3.py", tools.Status.normal),
("hi.py", tools.Status.normal)] ("hi.py", tools.Status.normal)]