)]}'
{"tests/unit/doc/test_task_samples.py":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"711ae8c4aa8bf432cd96e5afc4ab7a14e49fb5c0","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                        json.load(task_file)"},{"line_number":81,"context_line":"                    except Exception:"},{"line_number":82,"context_line":"                        print(traceback.format_exc())"},{"line_number":83,"context_line":"                        self.fail(\"Invalid task config: %s\" % full_path)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def test_task_config_pair_existance(self):"},{"line_number":86,"context_line":"        inexistent_paths \u003d []"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_59bf66d0","line":83,"updated":"2015-08-17 21:32:33.000000000","message":"I think its not necessary that this file is task. We must emphasize that this is invalid yaml. So pritn here please \"Invalid yaml syntax in file:\"","commit_id":"073df498c5bb3b0348b958f35fcc1e6f75af9de3"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"809246809731bd08b8052d9f2f5401b68d98f666","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                        eng.validate()"},{"line_number":56,"context_line":"                    except Exception:"},{"line_number":57,"context_line":"                        print(traceback.format_exc())"},{"line_number":58,"context_line":"                        self.fail(\"Invalid YAML file: %s\" % full_path)"},{"line_number":59,"context_line":"                    else:"},{"line_number":60,"context_line":"                        scenarios.update(task_config.keys())"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_aa5c0d26","line":58,"updated":"2015-08-18 08:20:12.000000000","message":"And in  this line in first patch set was right) Due to https://github.com/openstack/rally/blob/master/rally/task/engine.py#L251 here is checking task specific things, not only yaml syntax.","commit_id":"ce928d1df93e160fb89343a00bdaee88764f9cb4"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"300977ed989c944dbcf5a945aece59082d1e4645","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                        eng.validate()"},{"line_number":56,"context_line":"                    except Exception:"},{"line_number":57,"context_line":"                        print(traceback.format_exc())"},{"line_number":58,"context_line":"                        self.fail(\"Invalid YAML file: %s\" % full_path)"},{"line_number":59,"context_line":"                    else:"},{"line_number":60,"context_line":"                        scenarios.update(task_config.keys())"},{"line_number":61,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_dfd7acbd","line":58,"in_reply_to":"fa1b9901_aa5c0d26","updated":"2015-08-18 16:26:20.000000000","message":"Done, although for a different reason than what you give; this parses YAML and JSON files, so \"Invalid YAML file\" is only correct for half of the files that are parsed here.","commit_id":"ce928d1df93e160fb89343a00bdaee88764f9cb4"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"300977ed989c944dbcf5a945aece59082d1e4645","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                        json.load(task_file)"},{"line_number":81,"context_line":"                    except Exception:"},{"line_number":82,"context_line":"                        print(traceback.format_exc())"},{"line_number":83,"context_line":"                        self.fail(\"Invalid JSON file: %s\" % full_path)"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    def test_task_config_pair_existance(self):"},{"line_number":86,"context_line":"        inexistent_paths \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_5fc07ce0","line":83,"updated":"2015-08-18 16:26:20.000000000","message":"On looking further into this, this does only validate task files. self.samples_path is set to samples/tasks/, so this isn\u0027t validating anything but tasks. So the original \"Invalid task file\" was also correct.","commit_id":"ce928d1df93e160fb89343a00bdaee88764f9cb4"}]}
