Commit 3cd107cc by Ben Patterson

Fix flaky condition in pep8 noisy report test.

parent be7f6ecb
......@@ -34,7 +34,7 @@ class TestGetReportFiles(unittest.TestCase):
def test_get_pep8_reports_noisy(self, my_mock):
""" Several conditions: different report types, different files, multiple files """
my_mock.return_value = iter([
('/foo', ('',), ('pep8.report',)),
('/foo', (None,), ('pep8.report',)),
('/fooz', ('/ball',), ('pylint.report',)),
('/fooz', ('/ball',), ('non.report',)),
('/fooz', ('/ball',), ('lms.xml',)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment