)]}'
{"tests/unit/test_ddt.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"c874dc6bc30b44c6c6340aab76b8a4f08e73ab2b","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        for dirname, dirnames, filenames in os.walk(self.tests_path):"},{"line_number":86,"context_line":"            for filename in filenames:"},{"line_number":87,"context_line":"                if (not filename.startswith(\"test_\") or"},{"line_number":88,"context_line":"                   not filename.endswith(\".py\")):"},{"line_number":89,"context_line":"                    continue"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"                filename \u003d os.path.relpath(os.path.join(dirname, filename))"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_f7909dee","line":88,"updated":"2015-11-04 15:56:34.000000000","message":"if not (filename.endswith(\".py\") or filename.startswith(\"test_\")) would be shoter and more pythonic","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"435e01e06327301e6f74b18ff014b678af7d6263","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        for dirname, dirnames, filenames in os.walk(self.tests_path):"},{"line_number":86,"context_line":"            for filename in filenames:"},{"line_number":87,"context_line":"                if (not filename.startswith(\"test_\") or"},{"line_number":88,"context_line":"                   not filename.endswith(\".py\")):"},{"line_number":89,"context_line":"                    continue"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"                filename \u003d os.path.relpath(os.path.join(dirname, filename))"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_392ff3f7","line":88,"in_reply_to":"fa80f949_f7909dee","updated":"2015-11-04 18:21:54.000000000","message":"Done","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"c874dc6bc30b44c6c6340aab76b8a4f08e73ab2b","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"        # NOTE(stpierre): When stdout is closed this is a last resort"},{"line_number":111,"context_line":"        # to communicate the error to the user"},{"line_number":112,"context_line":"        self.assertEqual([], errors)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_b21783a2","line":112,"updated":"2015-11-04 15:56:34.000000000","message":"On unix-like system we could check whether the file of /dev/stdout (by default) open or not.","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"435e01e06327301e6f74b18ff014b678af7d6263","unresolved":false,"context_lines":[{"line_number":109,"context_line":""},{"line_number":110,"context_line":"        # NOTE(stpierre): When stdout is closed this is a last resort"},{"line_number":111,"context_line":"        # to communicate the error to the user"},{"line_number":112,"context_line":"        self.assertEqual([], errors)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_599437e1","line":112,"in_reply_to":"fa80f949_b21783a2","updated":"2015-11-04 18:21:54.000000000","message":"I\u0027ve just rewritten this to use self.fail() so that we can use unittest\u0027s own error reporting without needing to worry about closed filehandles.","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"}],"tests/unit/test_test_ddt.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"c874dc6bc30b44c6c6340aab76b8a4f08e73ab2b","unresolved":false,"context_lines":[{"line_number":16,"context_line":"from tests.unit import test_ddt"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"class DDTDecoratorCheckerTestCase(test.TestCase):"},{"line_number":20,"context_line":"    def test_pass(self):"},{"line_number":21,"context_line":"        code \u003d \"\"\""},{"line_number":22,"context_line":"@ddt.ddt"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_5c20b09b","line":19,"updated":"2015-11-04 15:56:34.000000000","message":"Lets add here one empty line","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"435e01e06327301e6f74b18ff014b678af7d6263","unresolved":false,"context_lines":[{"line_number":16,"context_line":"from tests.unit import test_ddt"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"class DDTDecoratorCheckerTestCase(test.TestCase):"},{"line_number":20,"context_line":"    def test_pass(self):"},{"line_number":21,"context_line":"        code \u003d \"\"\""},{"line_number":22,"context_line":"@ddt.ddt"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_39c053e0","line":19,"in_reply_to":"fa80f949_5c20b09b","updated":"2015-11-04 18:21:54.000000000","message":"Done","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"c874dc6bc30b44c6c6340aab76b8a4f08e73ab2b","unresolved":false,"context_lines":[{"line_number":19,"context_line":"class DDTDecoratorCheckerTestCase(test.TestCase):"},{"line_number":20,"context_line":"    def test_pass(self):"},{"line_number":21,"context_line":"        code \u003d \"\"\""},{"line_number":22,"context_line":"@ddt.ddt"},{"line_number":23,"context_line":"class Test(object):"},{"line_number":24,"context_line":"    @ddt.data({})"},{"line_number":25,"context_line":"    def test_func(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_1c3b08d3","line":22,"updated":"2015-11-04 15:56:34.000000000","message":"Lets correct here indentation.","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"435e01e06327301e6f74b18ff014b678af7d6263","unresolved":false,"context_lines":[{"line_number":19,"context_line":"class DDTDecoratorCheckerTestCase(test.TestCase):"},{"line_number":20,"context_line":"    def test_pass(self):"},{"line_number":21,"context_line":"        code \u003d \"\"\""},{"line_number":22,"context_line":"@ddt.ddt"},{"line_number":23,"context_line":"class Test(object):"},{"line_number":24,"context_line":"    @ddt.data({})"},{"line_number":25,"context_line":"    def test_func(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_19bd4f68","line":22,"in_reply_to":"fa80f949_1c3b08d3","updated":"2015-11-04 18:21:54.000000000","message":"What\u0027s wrong with the indentation?","commit_id":"8e16eabc0976a511859011ad60d0310bfb85131d"}]}
